I am getting a parse error for the return line every time I try and view
the page. Can anyone tell me why? The code is below.
$results = "select req, source, number from orders where req=" .
$GLOBALS["req"] . ", source=" . $GLOBALS["source"] . ",
number=" .$GLOBALS["req"] . "";
if (mysql_fetch_row($results) != 0) {
return "This has already been added.";
Also (since this is part of the problem, I'm sure) how do I take the
$GLOBALS values and set them equal to the req and source values in the
select statement? Is this syntax correct? The $GLOBALS values are pulled
earlier from a similar select statement.
Thanks,
Liz
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]