if this isn't the code you need, tell me exactly what your application should do
greatings andy
use this code:
<?php
$db = mysql_connect("server","user","password");
/
replace the word's server, user and password with your's
*/
mysql_select_db("database",$db);
$qry_shops = "select from table";
/
replace the word's database and table with your's
/
$result = mysql_query($qry_shops,$db);
$num = mysql_numrows($result);
/
this will put out each row of the $result of the qry_shops
*/
for ($i = 0; $i < $num; $i++) {
$row = mysql_fetch_array($result);
echo"$row[field1] $row[field2] $row[field3]<br>";
}
$id = mysql_insert_id($db);
mysql_close($db);
?>