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

Socket problem
Hello,

Earlier I posted about my problem with my socket script. It took up to 100% CPU usage.

GIS appliction help
I found some tutorials in the internet to develop a map application I don't want to use google maps

single page with referrer to show correct page
I have a simple website with a couple of different pages. I would like to be able to in a div tag w

PHP Code To Change Font Color in Table Cell
I would appreciate help with the following snippet of my php code. I am just trying to change the f

Exporting new records
Trying to figure out the best way to set this up.

People register my site.

Their prof

Material Master Update through BAPI - Follow up material not updated
Hi Experts,

I am updating the material master through a custom transaction using the BAPI

turning an array into a string then poping it into a db
Hi im just wondering how you get a requested array into a single string then pop it into the db so f

Optimize Code
Just started getting into the use of cookies. The following code will redirect users to a set URL s

On page view, minus credit
Hello all, please, I need a little help with this script. I am charging one credit (credits can be p

Security Exception on pages using AJAX
I am getting the exception: attempted to perform an operation not allowed by the security policy on

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