Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3

Thread: Problem Error

  1. #1
    Regular Coder
    Join Date
    Jun 2008
    Posts
    682
    Thanks
    114
    Thanked 2 Times in 2 Posts

    Problem Error

    Does someone see anything wrong with this code?

    Parse error: parse error, unexpected '<' in /home/content/y/a/n/yankeefaninkc/html/champions3.php on line 18

    // Retrieve and print every record
    while ($row = mysql_fetch_array ($r)){
    print <table border=0 width=575>;
    print </table>;
    }

  • #2
    Senior Coder Nightfire's Avatar
    Join Date
    Jun 2002
    Posts
    4,265
    Thanks
    6
    Thanked 48 Times in 48 Posts
    No quotes.


    PHP Code:
    // Retrieve and print every record
    while ($row mysql_fetch_array ($r)){
    print 
    '<table border="0" width="575">';
    print 
    '</table>';


  • Users who have thanked Nightfire for this post:

    CoolAsCarlito (08-08-2008)

  • #3
    Regular Coder
    Join Date
    Jun 2008
    Posts
    682
    Thanks
    114
    Thanked 2 Times in 2 Posts
    Thank you.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •