Re: Undefined Constant

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

 



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


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

  Powered by Linux