Jump to content
Larry Ullman's Book Forums

Chapter 9 Cart.php Error Unknown Column 'c.product_Id' In 'on Clause'


Recommended Posts

Hi

RE: Chapter 9  cart.php...

 

the following code..

                                 //display carts contents
                                 $r = mysqli_query($dbc, "CALL get_shopping_cart_contents('$uid')");
                            
                                 if(!$r) echo mysqli_error($dbc);

 

is causing this error on page

                                        Unknown column 'c.product_id' in 'on clause'

 

I went over my stored procedure...could not find an error..resorted to copy and pasting stored procedure from book download.....My question is could my error still be in this stored procedure?

 

Thank you

 

 

 

 

Link to comment
Share on other sites

 Share

×
×
  • Create New...