-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

The only setting contained in that table is the one im calling for,
and its value is 25.

- ---
Aaron Axelsen
AIM: AAAK2
Email: [EMAIL PROTECTED]

Want reliable web hosting at affordable prices?
www.modevia.com
 
Web Dev/Design Community/Zine
www.developercube.com



- -----Original Message-----
From: Aaron Axelsen [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 29, 2003 2:40 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Weird Problem


 
- -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I have the following chunk of code:

        $sql = "SELECT setting from settings where name='display_rows'";
        include("connect.inc.php");
        print $sql;
        $row = mysql_fetch_row($result);
        $path = $row[0];
        print $path;

It always prints out "1"

But if I run the code at the sql command prompt, it prints out "25",
which is the correct value.

Does anyone have any ideas why im having this problem??

- - ---
Aaron Axelsen
AIM: AAAK2
Email: [EMAIL PROTECTED]

Want reliable web hosting at affordable prices?
www.modevia.com
 
Web Dev/Design Community/Zine
www.developercube.com


- -----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 7.0.3 for non-commercial use
<http://www.pgp.com>

iQA/AwUBPybNTLrnDjSLw9ADEQI4LQCeP+vaCk+UtDJSeDU9H5yTt+r12JEAniaI
LVwLVog89WOCsXxzIHbGsIEb
=g4P4
- -----END PGP SIGNATURE-----



- -- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 7.0.3 for non-commercial use <http://www.pgp.com>

iQA/AwUBPybRWLrnDjSLw9ADEQJMrQCeIFkRzjnN2zoOhtS+JEO3tcVxiJ0AnR2v
JHRpp/8B2Gb581ntxzS+5OGL
=85R7
-----END PGP SIGNATURE-----



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to