Re: Undefined Constant

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
Thank you all for your quick help, it was just a "Youve been up too long
working on this and it is the middle of the night" mistakes.  Once I put
quotes around my constant, everything worked.
Thanks again,
Tyler
----- Original Message -----
From: "Jason Wong" <php-db@gremlins.biz>
To: <php-db@lists.php.net>
Sent: Tuesday, November 26, 2002 11:39 PM
Subject: Re:  Undefined Constant


> On Wednesday 27 November 2002 15:24, Tyler Whitesides wrote:
> > Hi,
> >
> >     Although I have been working with PHP for a while, working with
> > Databases is something that I am only so so at.  This code is supposed
to
> > grab the price from the database given the auto_increment id is inside
of
> > $casing.  I am trying to get the $row[price] to echo so that Javascript
> > recieves a string, converts it to an integer, and later on in the code,
> > gives the user a total.  Any ideas?
>
> Use:
>
>   $row['price']
>
> --
> Jason Wong -> Gremlins Associates -> www.gremlins.biz
> Open Source Software Systems Integrators
> * Web Design & Hosting * Internet & Intranet Applications Development *
>
>
> /*
> The world really isn't any worse.  It's just that the news coverage
> is so much better.
> */
>
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


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


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux