Re: Re: RE: [PHP] Variable Problem

2003-02-06 Thread Sunfire
Wong [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, February 06, 2003 12:25 AM Subject: Re: Re: RE: [PHP] Variable Problem On Thursday 06 February 2003 07:48, Sunfire wrote: on any server i ever dealt with if i put: input type=sent value=?php\$sent\? in the edit box for the value

Re: Re: RE: [PHP] Variable Problem

2003-02-06 Thread Jason Wong
On Thursday 06 February 2003 22:50, Sunfire wrote: no that doesnt work either what you get when you do that one in the edit box is: using: input type=text name=sent value=?php echo \$sent\;? or any different with echo in the value field gives me in the box: ?php \\;?} ...rest of the script

Re: Re: [PHP] Variable Problem

2003-02-05 Thread Sunfire
if you want to get variables into a form by value= do something like this: ?php echo BLOCK form action=php_self method=post input type=var1 value=\var1\br and so on - Original Message - From: Jason Wong [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, February 05, 2003 3:59

Re: RE: [PHP] Variable Problem

2003-02-05 Thread Sunfire
you can do: echo BLOCK //any valid html code here input type=sent value=\sent\ BLOCK; it is easier if you have a form or large amounts of code to echo/print to the screen with vars and stuff to use the echo stuff its pretty cluttered and its harder to use print or echo for every line of code you

Re: RE: [PHP] Variable Problem

2003-02-05 Thread Chris Shiflett
--- Sunfire [EMAIL PROTECTED] wrote: you can do: echo BLOCK //any valid html code here input type=sent value=\sent\ BLOCK; No, he needed to output $sent, which is dynamic. Also, it is a lot cleaner (and likely faster) just to use ? (or ?php) and ? to switch in/out of PHP as needed. If

Re: Re: RE: [PHP] Variable Problem

2003-02-05 Thread Sunfire
Shiflett [EMAIL PROTECTED] To: Sunfire [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Wednesday, February 05, 2003 5:44 PM Subject: Spam: Re: RE: [PHP] Variable Problem --- Sunfire [EMAIL PROTECTED] wrote: you can do: echo BLOCK //any valid html code here input type=sent value=\sent\ BLOCK

Re: Re: RE: [PHP] Variable Problem

2003-02-05 Thread Chris Shiflett
--- Sunfire [EMAIL PROTECTED] wrote: on any server i ever dealt with if i put: input type=sent value=?php\$sent\? in the edit box for the value i always always end up with ?php instead of what $sent stands for..the only way i found it to work is with echo but maybe im missing something You

Re: Re: RE: [PHP] Variable Problem

2003-02-05 Thread Jason Wong
On Thursday 06 February 2003 07:48, Sunfire wrote: on any server i ever dealt with if i put: input type=sent value=?php\$sent\? in the edit box for the value i always always end up with ?php instead of what $sent stands for..the only way i found it to work is with echo but maybe im missing