Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

HOW to: please??!


Recommended Posts

how do i make the result of this quey to be displayed on the inde.php TEXT_MAIN

this query will create a table that is just placed on top of the header, i'm going crazy with this..


please help!

BTW: query and data exracted are ok, it's just teh formatting thats makeing me nuts!







if ($num_rows == 0) {

// do nothing as no user is logged

} else {


echo "<TABLE ALIGN=\"CENTER\" BORDER=\"1\">";

echo "<TR><TH>Sender</TH><TH>Tracking Num.</TH><TH>Delivery to the Box</TH></TR>";


// We carry out the table population using a 'while' loop


while ($row= tep_db_fetch_array($customer_query))






// We display the results under the correct headings



echo "<TR><TD>$id</TD><TD>$var_1</TD><TD>$var_2</TD></TR>";




}// End else while



Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...