tascam424 - 4:32 pm on Jul 30, 2012 (gmt 0)
I hope i understood correctly ..
I am a total newbie, unskilled coder, just learning. But if this is wrong then i hope that i will learn in the process .. So try this and tell me if it works and i am sure lots of people will then tell us a better way to do it . but it's all about personal development ..
$dbhost = '****';
$dbuser = '*****';
$dbpass = '******';
$conn = mysql_connect($dbhost, $dbuser, $dbpass) or die ('Error connecting to mysql');
$dbname = '#*$!xx';
$result = mysql_query("SELECT product_id FROM YOURTABLE
echo "<table border='1'>
while ($row = mysql_fetch_assoc($result))
echo "<td>" . $row['product_id'] . "</td>";
Just change YOURTABLE name .. this should be interesting.