# Strange PHP issue, pretty basic

**URL:** <https://forum.kirupa.com/t/strange-php-issue-pretty-basic/179987>\
**Category:** Uncategorized\
**Created:** [February 24, 2006, 2:40pm UTC](https://forum.kirupa.com/t/strange-php-issue-pretty-basic/179987 "2006-02-24T14:40:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![JoshuaJonah](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/joshuajonah/32/1775_2.png) [@JoshuaJonah](https://forum.kirupa.com/u/JoshuaJonah)\
**Post date:** [February 24, 2006, 2:40pm UTC](https://forum.kirupa.com/t/strange-php-issue-pretty-basic/179987/1 "2006-02-24T14:40:23Z")

</div>

ok… i’m starting to freak out here.

I have this in a php file:

```php
<?php
$news1 = "client fills out a form with his info, submits it and than I receive email saying you've received email from Mike below is Mike's info along with 2 buttons (links) to Approve or disaprove";
$news2 = "either way, I can use both. this on eits probably for email. Client info. but if you have for database than I need way way more sophisticated one. something like this";
$news3 = "when user fills outs a form it will also generate a login name and password for him for a login page where heshe can access additional information such as a budget, presentations, marketing tools etc.";
echo 'total=3&total=3&news1='.$news1;
?>

```

btw, yeah i just copy and pasted some text from the forums…🙂

And i have this in AS:

```auto

   news.onLoad = function() {
    var i:Number = 1;
    while (i<=news.total) {
     var prev:Number = 0;
     if (i==1) {
      prev = 0;
     } else {
      prev = i-1;
     }
     news_mc.createEmptyMovieClip("article"+i,400+i);
     news_mc["article"+i]._y = (news_mc["article"+prev]._y)+(news_mc["article"+prev]._height)+30
     news_mc["article"+i].createTextField("date"+i, 501+i, 10, 0, 80, 20);
     news_mc["article"+i]["date"+i].text = "SomeDate";
     news_mc["article"+i].createTextField("news"+i, 601+i, 10, 20, 420, 40);
     news_mc["article"+i]["news"+i].multiline = true
     news_mc["article"+i]["news"+i].autoSize = "left";
     news_mc["article"+i]["news"+i].html = true;
     news_mc["article"+i]["news"+i].htmlText = news["news"+i];
     i++;
    }
}

```

and this is what i’m getting:  
 ![](http://forum.kirupa.com/uploads/kirupa/2200/713bc447b008a929.jpg)
