RE: [PHP-DB] Table structure and displaying certain thing

2002-04-01 Thread Jonathan Hilgeman
Hi Jennifer, Okay first, in your current page, just do one SQL statement that selects the 4 fields you want all at once, then use extract() to turn the record/result into variables, and print out your form like: 0) { print ""; // Get Record and Echo/Print Out Data while(

Re: [PHP-DB] Table structure and displaying certain thing

2002-04-01 Thread Henrique Flach Latorre Moreno
Hello Jenniffer, I think the you could do like this: "; \\ The current id selected in the DB echo "".$result['name'].""; \\ it will print the name of product echo "Quantity ".$result['quantity'].""; \\ and the quantity echo "Cost: ".$result['price']." SC"; \\ price as well echo "