Steve Johnson Posted August 5, 2007 Report Share Posted August 5, 2007 Hello, I am trying move data stored in an HTML hyperlink to MySQL. My understanding is that I have to use PHP to do this. My hyperlinks to the new page looks like this: <a href="info.php?ProdNum=123&ProdName=Shoes"> On the "info" page I have have created a cookie to hold these values and I can print them out on the 'info' page. I have also created a table named "cart" to hold the cookie. The table "cart" is located inside the database "store" (MySQL). This table is part of the database that I'm using in this site. Now, I need to insert the values from the link into my "cart" table. Because all the data for the insert is coming off my links, I don't need a lot in the way of 'die' statements and would prefer to not have them so that the working code is easier to see. If I must have 'die' statements, then so be it. Thanks!! -Steve Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.