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

AJAX form submit
I recently built a form that submits data to my database with an ajax function that is called throug

PHP doesn't send my mail
Hi all, I found this and used it to send mail. Simple contact form with some required fields. The va

email CODING Problem
Email coding problem.

I need to send a section of the info to $tf and the same as a Cc to $em

xml element exists
Code: [Select]<?xml version="1.0"?>
<Addresses>
<

How to use php and sql to check if values match the ones in a table (for logins)
How would I code it that the script takes two variables that are passed to it (UserID and PIN), and

do while conditions
i want to display 6 images in a 2x3 table
now what would be the correct logic to
count that th

Code Review - SQL and Insertion Attacks (Warning: Not for Newbs)
Hey guys,

Its been a while, I know. Use to love coming here to answer peoples questions, but

ctype() validation - allowing illegal characters
Hello,
I use ctype() to filter and validate a user form. However, I am trying to allow certain c

php/mysql problem
Hey all,

Problem: im trying to setup a shop where people can use a drop-down list to select t

Mouseover to edit (Ajax)
hi friends, can anyone help with the code behind to get this application working, please in VB (new

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