Re: show data on the text input box

From: Date: Fri, 09 May 2014 22:15:04 +0000
Subject: Re: show data on the text input box
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-323258@lists.php.net to get a copy of this message
Thanks a million for the information and help, Regards, Iccsi, "Jim Giner" wrote in message news:DF.35.15882.0FEDC635@pb1.pair.com... On 5/9/2014 12:37 AM, iccsi wrote:
echo "ID:".$row{'invid'}." Inv Date:".$row{'invdate'}."Note: ". $row{'Note'}."<br>";
These are wrong. You are processing an array of the results. Arrays are referenced with brackets, not braces. Should read: echo "ID:".$row['invid']." Inv Date:".$row['invdate']."Note: ".$row['Note']."<br>";

« previous php.general (#323258) next »