Niel Archer napsal(a):
Your variable value is not being inserted because you have used single
quotes for the echo, not double quotes as the nabble example does.
Special characters and variables are only interpreted in double quotes,
they are treated literally in single quotes.
--
Niel Archer
Try replacing this:
echo ' input name=storename type=text
maxlength=35 id=storename
class=regForm disabled=disabled value=$rows[0]/input' ;
With this:
echo ' input name=storename type=text
maxlength=35 id=storename
class=regForm
Date: Wed, 26 Sep 2007 09:33:40 -0700
From: [EMAIL PROTECTED]
echo(input name=\input1\ type=\text\
value=$rows[0]);
If what you want rendered in html should have quotes like so:
input name=input1 type=text value=some value
Double quote the value like so:
echo(input
snip
echo(input name=\input1\ type=\text\ value=$rows[0]);
Change to
echoinput name=\input1\ type=\text\ value=\ .
htmlspecialchars($rows[0], ENT_QUOTES) . \;
So html characters like and won't be interpreted by the browser.
--
Postgresql php tutorials
http://www.designmagick.com/
--
Your variable value is not being inserted because you have used single
quotes for the echo, not double quotes as the nabble example does.
Special characters and variables are only interpreted in double quotes,
they are treated literally in single quotes.
--
Niel Archer
--
PHP Database Mailing