Search found 3 matches
- Thu Jun 03, 2010 4:08 pm
- Forum: PHP - Code
- Topic: PHP If Statement within While Loop
- Replies: 4
- Views: 215
Re: PHP If Statement within While Loop
Wahoo! internet-solution's code did the trick! Thanks everyone for your help!
- Thu Jun 03, 2010 3:32 pm
- Forum: PHP - Code
- Topic: PHP If Statement within While Loop
- Replies: 4
- Views: 215
Re: PHP If Statement within While Loop
Thats what I was going for! I think the code will work, but I have something wrong. I receive the following error when I try to visit the page. Parse error: parse error, unexpected $ in /home/content/n/u/g/site/html/members/myaccount.php on line 243 Here is the full code <? while ($prows = mysql_fet...
- Thu Jun 03, 2010 3:12 pm
- Forum: PHP - Code
- Topic: PHP If Statement within While Loop
- Replies: 4
- Views: 215
PHP If Statement within While Loop
Hello, I'm still learning PHP. Wondering if anyone could lend some thoughts on a small piece of code i'm trying to get working. Within my PHP page I spit out some information, which works fine, but within one portion, I would like to display a certain value based on the records "status" fi...