Why not use:
SELECT a.item_id, a.subtotal, a.quantity
FROM shopping_cart a, orders b
WHERE b.session_id = session_id()
AND b.customer_id = $customer_id
AND a.order_id = b.border_id
?
!Exclude Disclaimer!
Jonathan Villa wrote:
I can't figure this query out.
I want to pull data from 2
Milan,
The only disadvantage i've had of storing images in DB instead of
Filesystem, is that when you use a PHP script to output the image to a
client browser, MSIE doesn't always accept a suggested filename so it
might try and save it as your-script.php?img=2.
Other then that, keeping images
Yo Evan,
Have you got an '@' in front of the mysql_query() to supress errors ?
Evan Morris wrote:
Hi all
I have successfully managed to connect to the mysql database, using the
following code:
mysql_connect('localhost','php','***') || die (Unable to connect to
MySQL server.);
$db =
You have to give the Mutli select box a name as an array. eg:
SELECT NAME=experts[] MULTIPLE SIZE=5
OPTION VALUE=key1val1/OPTION
/SELECT
then in PHP, you can access $experts as an array.
while (list ($key, $val) = each($experts)) {
print $key = $valBR\n;
}
Jason End wrote:
I writing a