how do you mean it echo in the login script
here is what I mean do{ $product_type= $db->f("Product_Type"); $part_number = $db->f("Part_Search"); $make = $db->f("Make"); $model = $db->f("Model"); $model_year = $db->f("Model_Year"); $engine = $db->f("Engine"); $part_specs = $db->f("Part_Specs"); $part_desc = $db->f("Part_Description"); $price = $db->f("price"); $product_id = $db->f("product_id"); $discount_price = round($price - (0.35 * $price),2); // the price is 35% off $str = explode (".", $discount_price); if(strlen($str[1]) < 2 ){ $discount_price = $discount_price."0"; } $color = ($coloralternator++ %2 ? "D9D9D9" : "E9E9E9"); $product_info = $make ." ".$model." ".$model_year ."/".$engine."/".$part_specs; echo "<TR BGCOLOR=\"#$color\"><TD><font size=\"1\" face=\"Verdana, Arial, Helvetica, sans-serif\">$product_type</FONT></TD>"; echo "<TD><font size=\"1\" face=\"Verdana, Arial, Helvetica, sans-serif\">$part_number</FONT></TD>"; echo "<TD><font size=\"1\" face=\"Verdana, Arial, Helvetica, sans-serif\">$make</FONT></TD>"; echo "<TD><font size=\"1\" face=\"Verdana, Arial, Helvetica, sans-serif\">$model</FONT></TD>"; echo "<TD><font size=\"1\" face=\"Verdana, Arial, Helvetica, sans-serif\">$model_year</FONT></TD>"; echo "<TD><font size=\"1\" face=\"Verdana, Arial, Helvetica, sans-serif\">$engine</FONT></TD>"; echo "<TD><font size=\"1\" face=\"Verdana, Arial, Helvetica, sans-serif\">$part_specs</FONT></TD>"; echo "<TD><font size=\"1\" face=\"Verdana, Arial, Helvetica, sans-serif\">$part_desc</FONT></TD>"; echo "<TD ALIGN=\"RIGHT\"></a><font size=\"1\" face=\"Verdana, Arial, Helvetica, sans-serif\">$discount_price</font></TD>"; echo "<TD><input type=\"value\" size=\"2\" name=\"quantity[$product_id]\" value=\"1\" style=\"font-family: Verdana, Geneva, Helvetica; font- weight: regular; font-style: regular; font-size: 10px; color: #000000; height:18px\"></TD>"; echo "<TD><input type=\"checkbox\" name=\"product[$product_id]\" value=\"$product_id\"></TD>"; echo "<input type=\"hidden\" value=\"$part_number\" name=\"part_number[$product_id]\"/>"; echo "<input type=\"hidden\" value=\"$discount_price\" name=\"discount_price[$product_id]\"/>"; echo "<input type=\"hidden\" value=\"$product_info\" name=\"product_info[$product_id]\"/>"; $is_next_record = @$db->next_record(); } while($is_next_record ); i need to forward the hidden variables values + the checkboxes values after the login to the schopping cart account how can i make them being seen through over the login script thanx "Bogdan Stancescu" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > ...or echo some hidden inputs in the login form? > > Julio Nobrega Trabalhando wrote: > > > session_register('array_of_selected_checkboxes'); > > > > Just use sessions! ;-) > > > > -- > > > > Julio Nobrega. > > > > Um dia eu chego lá: > > http://sourceforge.net/projects/toca > > > > Ajudei? Salvei? Que tal um presentinho? > > http://www.submarino.com.br/wishlistclient.asp?wlid=664176742884 > > > > "M. Ali" <[EMAIL PROTECTED]> wrote in message > > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > > > > > hi > > > > > > may can some body help me > > > > > > I'm writing a shopping cart system where the user can search for a > > product. > > > the search result is a page with number of items where the user can select > > > some them using checkboxes and enter the quantity that he needs, then add > > > them to his shopping cart this works fine when his logged in but when he > > is > > > not logged in, after the search and selecting the items when he comes to > > add > > > them to the shopping cart a login screen appears where he enters his login > > > user/password his shopping cart appears. > > > > > > the problem is that the items that he selected in the result page are not > > > passed after his login so how can i pass these arrays of checkboxes and > > > textfields with the login script. > > > > > > thanx for your help > > > > > > > > > > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > To contact the list administrators, e-mail: [EMAIL PROTECTED] > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]