--- [EMAIL PROTECTED] wrote:
> I keep getting a parser error and I can't figure
> it out. Here is the code and any help is greatly
> appreciated.
> $sql = "SELECT * FROM requests";
> while ($result = mysql_fetch_array($query))

While this is not related to your parse error, it is a
major logic flaw, as mysql_fetch_array() takes a result set
as an argument, not an SQL statement.

> echo ("<a

This is your parse error. Get rid of the parentheses.

The parse error should tell you on exactly which line you
had an error, so read those error messages carefully next

Good luck.


PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to