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

Error: SQL Syntax; Line 1
Code:

<?php require "global_settings.php"; ?>
<title&g

PHP onsubmit in the form not going to the fuction.
I have a form through ‘onsubmit’ calling a function validation(). But not going to the

Email logic not working
I would like to send an email using the php email() function then if it does execute i.e sends i wou

Update Database
Hi All,


I have a problem with this:

Code: [Select]<?php
session_start();

PHP code for a proxy
I was wondering which function I could use to create an online proxy tool. I was thinking cURL would

Text file to .Dat file Conversion in PHP
Hi All,
Could anybody provide code for Text file to .Dat file Conversion in PHP.

Tha

Coding Critique
I was hoping someone could take a second and look down my code and see if they see any problems with

Email with Attachments in PHP
Hi Friends

How to send email in PHP with attachment.
I know simple mail can be sent with

same querie, or a new one??
Hi guys,

I'm still working on this drop down list. I've got the actual drop down list to wor

All possible combinations of Strings from table in PL/SQL
Hi,

I am trying to figure out how to build a list of all possible string combinations fro

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