tharangasp Posted July 29, 2009 Share Posted July 29, 2009 Dear Experts, I have 2 Pages : - 1st one is call - newarrivels.php 2nd one is call - Order.php I already printing the values to a table from a database on this page(1st page). I want to get those variables to "2nd Page"..Please help Me. This is the Printing Code for page 1 (newarrivels.php) echo "<td class=\"tableborder\" hight=\"50\" align=\"left\"><a id=\"qm\" class=\"qmmc\" <img src=\"$item_thumbnail\" <td class=\"tableborder\" hight=\"50\" align=\"justify\"><a id=\"qm14\" class=\"qmmc\" <font color=\"#FFFFF\" size=\"3\" face=\"Verdana\"><strong> $item_name </strong></font> <br> <br> <font color=\"\" size=\"2\" face=\"Verdana\" >$item_description</font></a> <br> <br> <br> <br> <br> <br> <br> <font color=\"#FFFFFF\" size=\"2\" face=\"Verdana\"><em> $item_price USD</em> </font> <br> <br> <font color=\"#FFFFFF\" size=\"2\" face=\"Verdana\" align=\"right\" ><a href=\"order.php\"><u><strong> $OrderNow </strong> </u> </a></font>"; This code is working 100% and the values $item_name | $item_price | $item_description is Printing Successfully. EG : Result of this page : Item name: printer item_description:Hp deskjet | item_price : 70 USD I want to take these values to my second page "Order.php" please help me.... Note - there are no Text boxes in newarrivels.php and order.php thankssssssss Quote Link to comment Share on other sites More sharing options...
papaface Posted July 29, 2009 Share Posted July 29, 2009 Sessions? Quote Link to comment Share on other sites More sharing options...
fooDigi Posted July 29, 2009 Share Posted July 29, 2009 why not just run the same query on the second page? or create an include that does it, and include it on both... not sure if i understand 100%... but if you want to just pass values of one record to the page, pass the item id, and query the database according to that id... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.