How to view records made by a customer
<p>Sorry for my ambiguous question on the last post on this. I am developing an eCommerce website for my assignment. What I want to achieve is that when a customer logs in to his account he should be able to see his account with all the items he purchased. I am using table orders for keeping all orders. I do not get any errors. I only get the table headings I created.</p>

<p>The query i am using is :</p>

<pre><code>$result = mysql_query("SELECT orderID, cust_firstname, cust_lastname, 
cust_address, cust_phone, cust_country from orders  
where cust_firstname =" .$_SESSION['user_name']);
</code></pre>

<p>Please help</p>

<p>Thank you</p>
