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

Simple MySQL script is not working
Hey guys,

Just familiarizing myself with PHP and MySQL. I am following along in the O'Reilly

When file included, REMOTE_ADDR is server's?
I have an index file that handles my site, basically index.php?page=ip will activate "require('

PHP4 to PHP5 Conversion
Hi Everyone,

I am working on a site that is built up on PHP4 and each page is being started f

Save data in input fields when they press "BACK BUTTON"
Hi, this is html form: And let's say they get a error "Please enter ur title must be more then

retrieving more than one max key from an array?
so i have an array of 20 numerical values (0-100) that i need to order from highest to lowest and th

Table Control
Hi Guru's,

I've created a Module pool program, which contains the Table Control.

insert Multiple rows into the table from that table data
Hi All,

I have a requirement like to insert mulitple rows into the table from that

Parse Error
Hi Guys,

I have a function in my class which returns a string link variable. The problem is i

a function to check directory depth
I'm working on a php script to upload files in to a set directory.
the user can select to upload

SWF image using php?
Hello once again.

My latest en devour requires me to produce an image of a static .swf that i

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