SHARING MY KNOWLEDGE
<?php mysql_connect("localhost","root",""); mysql_select_db(test); $q = "select MAX(id) from tbl_name"; $result = mysql_query($q); $data = mysql_fetch_array($result); echo $data[0]; ?>
thanks for this
thanks
thanks matey
thanx macho
thanks blue
Thanks guaje
Thanks
how to find max five value from table
you can try something like this,select col_name from tbl_name order by col_name desc limit 5
how to get max value from ms access database using php
thanks nice one
thanks you for super simple query
thanks so much
gracias!!
This didnt work :/ It gave me the errorWarning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in "not going to show PATH" on line 8
HOT IT
np
Thank you!
Thank u so much for this!! Ive been trying to get this work for hours and your was the only site which actually helped!
THANK YOU VERY MUCH
thanks for this
ReplyDeletethanks
ReplyDeletethanks matey
ReplyDeletethanx macho
ReplyDeletethanks blue
ReplyDeleteThanks guaje
ReplyDeleteThanks
ReplyDeletehow to find max five value from table
ReplyDeleteyou can try something like this,
ReplyDeleteselect col_name from tbl_name order by col_name desc limit 5
how to get max value from ms access database using php
ReplyDeleteThanks
ReplyDeletethanks nice one
ReplyDeletethanks you for super simple query
ReplyDeletethanks so much
ReplyDeletegracias!!
ReplyDeleteThis didnt work :/ It gave me the error
ReplyDeleteWarning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in "not going to show PATH" on line 8
HOT IT
Deletenp
ReplyDeleteThank you!
ReplyDeleteThank u so much for this!! Ive been trying to get this work for hours and your was the only site which actually helped!
ReplyDeleteTHANK YOU VERY MUCH
ReplyDelete