i am not really experienced with php and mysql.
So far i needed to get the querry results one time and i did it using that piece of code
Code: Select all
while ($row = mysql_fetch_array($result, MYSQL_ASSOC)) {
echo $row["id"];
}Code: Select all
for($i=0;$i<3;$i++){
while ($row = mysql_fetch_array($result, MYSQL_ASSOC)) {
echo $row["id"];
}
}Anyone knows what i need to do?
THanks