?

Search Help Board

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

?
?Re: selecting lowest number in mysql
Author:?fred?(---.beeb.net)
Date:???03-03-03 10:51

$query = "select MIN(newsid) as min_number from worldsBestNews";
$result = mysql_query($query);
while($row = mysql_fetch_array ($result)){
$newsid = $row['min_number'];
echo "news id = $newsid";
}

?Topics Author? Date
?selecting lowest number in mysql??new
evan 03-03-03 08:52?
?Re: selecting lowest number in mysql??new
fred 03-03-03 09:39?
?Re: selecting lowest number in mysql??new
evan 03-03-03 10:28?
?Re: selecting lowest number in mysql??new
fred 03-03-03 10:51?
?Re: selecting lowest number in mysql??new
evan 03-03-03 11:02?
Go to Top??|??Go to Topic??|??Flat View??|??Search?
??|??
New Topic
?Reply To This Message
?Your Name:
?Your Email:
?Subject:
Email replies to this thread, to the address above.
??wrote: > > $query = "select MIN(newsid) as min_number from > worldsBestNews"; > $result = mysql_query($query); > while($row = mysql_fetch_array ($result)){ > $newsid = $row['min_number']; > echo "news id = $newsid"; > } ">??

Provided By
Phorum