Jump to content

mysq_num_rows


karimali831

Recommended Posts

Hi,

 

I want to use:

 

if(mysql_num_rows($ergebnis2)==2)

 

how can the value 2, be retrieved from the database?

example, lets say I have if

 

(mysql_num_rows($ergebnis2)==$limit)

$limit = $ds['limit'];

 

also query:

 

safe_query("SELECT limit FROM ".PREFIX."settings WHERE limit = '$limit'"));

 

 

but this is wrong. I'm php beginner.

Can someone help me please build this together?

 

thanks for any help at all.

Link to comment
https://forums.phpfreaks.com/topic/192591-mysq_num_rows/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.