I try to display the list of items in shopping cart stored in the database....
and i wanna compare with php session_id()... the current is.... <?php
mysql_select_db($database_conn, $conn); $query_listcart = 'SELECT
cart.quantity, products.ProductName, products.UnitPrice, products.ProductImage
FROM cart, products WHERE products.ProductID = cart.productid'; $listcart =
mysql_query($query_listcart, $conn) or die(mysql_error()); $row_listcart =
mysql_fetch_assoc($listcart); $totalRows_listcart = mysql_num_rows($listcart);
?> How do i add a line for $query_listcart, with the value of cart.sessionid
equal to the value of php session_id() ???