?

Search Help Board

PHP FAQ
PHP Articles
PHP Help
Bulletin Board

PHP Manual (NEW!)
First Time PHP'ers
Help with programming
Sql assignment help
PHP Homework Help


C# Help

?
?Re: PHP form query no show
Author:??(203.177.46.---)
Date:???10-12-03 20:12

i have modified my query statement of filter2.php to

mysql_select_db($db, $mylink);
$result = mysql_query("
SELECT p.name, oi.cost_out, oi.qty_out, o.username, o.o_timestamp
FROM order_items AS oi, products AS p, orders AS o
WHERE p.id = oi.product_id
AND oi.order_id = o.id
AND o.username = ". $username ."
ORDER BY o_timestamp ASC
");

I got this error.

Warning: Supplied argument is not a valid MySQL result resource in c:\foxserv\www\baraka\stuff\filter2.php on line 26
which is:




Warning: Supplied argument is not a valid MySQL result resource in c:\foxserv\www\baraka\stuff\filter2.php on line 36
which is:

mysql_free_result($result);

?Topics Author? Date
?PHP form query no show??new
TheJuan 10-12-03 19:45?
?Re: PHP form query no show??new
TheJuan 10-12-03 20:12?
?Re: PHP form query no show??new
TheJuan 10-13-03 18:30?
Go to Top??|??Go to Topic??|??Flat View??|??Search?
??|??
New Topic
?Reply To This Message
?Your Name:
?Your Email:
?Subject:
Email replies to this thread, to the address above.
????

Provided By
Phorum