mysq_num_rows


Posted on 16th Feb 2014 07:03 pm by admin

Hi,

I want to use:

Code: if(mysql_num_rows($ergebnis2)==2)
how can the value 2, be retrieved from the database?
example, lets say I have if

Code: (mysql_num_rows($ergebnis2)==$limit)

$limit = $ds['limit'];
also query:

Code: 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.

No comments posted yet

Your Answer:

Login to answer
88 Like 39 Dislike
Previous forums Next forums
Other forums

preg_replace question
Hello!!

I hope someone can help me with preg_replace.

I load two tables from an extern

Form errors in an array
I'm processing a form and putting the errors in an array. empty($errors) doesn't seem to do the tric

Search with relational database
Hey,

I have quite a complicated (for me anyway ) relational database for an apartments syste

How do I give a developer access to a specific directory and nothing else?
I want to give a develop access to a specific directory and nothing else

I can give them an F

Quick variable question
hey guys/gals,
im trying to write a php script and it works fine as i have it, but i need to set

how to get IP address?
hey guys,

i have this code which is supposed to get me the IP address of my site visitors:

PHP Login
Hey!
I got this shopcart code online, am trying to modify it but am getting an error when i try a

Connection Timeout
I'm using xmii 12.0

I'm calling a transaction as a web service from a windows application

Problem with "dynamic" index page
Hi. I have one question. In my index.php page I have this kind of code:
Code: // listaa sivut

Need Help with a query
Hello,
For some reason I am just not getting the right answer when I do this query and not quite

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash