MySQL Forums
Forum List  »  PHP

Re: Newbie select question with limit
Posted by: Chis Florinel
Date: September 19, 2005 07:54AM

$res = mysql_query("select waarde from top where id=1");
echo $res;


will output someting like
Resource #N, where N is a number.

and you are using this variable in a limit clause...

You can check Roland Bouman's answer for a solution, but reading the manual should be the first step, before asking questions.

Options: ReplyQuote


Subject
Written By
Posted
September 17, 2005 02:40AM
Re: Newbie select question with limit
September 19, 2005 07:54AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.