![]() |
|
? |
![]() PHP FAQ PHP Articles PHP Help Bulletin Board PHP Manual (NEW!) First Time PHP'ers Help with programming Sql assignment help PHP Homework Help C# Help
|
? |
|
|||||||||||||||||||||||||||||||||||
?Reply To This Message | ||||||||||||||||||||||||||||||||||||||
?Your Name: | ||||||||||||||||||||||||||||||||||||||
?Your Email: | ||||||||||||||||||||||||||||||||||||||
?Subject: | ||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||
Email replies to this thread, to the address above. | ||||||||||||||||||||||||||||||||||||||
??wrote: > > now, how would i delete that value from mysql. > > i try using a for to display the results but it returns > nothing. > > $query = "select MIN(newsid) as min_number from > worldsBestNews"; > $result = mysql_query($query); > $num_results = mysql_num_rows ($result); > > for ($i=0; $i<$num_results; $i++) { > $row = mysql_fetch_array ($result); > $newsid = $row['newsid']; > echo "news id = $newsid"; > } > > this should display the lowest number in the auto increment > field but it displays nothing. ">??![]() |