Re: Strange Problem
| From: | GEN-Host.Com | Date: | Thu, 26 Oct 2000 00:44:08 +0000 |
| Subject: | Re: Strange Problem | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-3909@lists.php.net to get a copy of this message | ||
He did, it was submitted from the form, BUT the form's syntax was wrong.
----- Original Message -----
From: Opec Kemp ( Ozemail ) <okemp@ozemail.com.au>
To: True Software Solutions Private Limited <info@truesoft.net>
Cc: <php-db@lists.php.net>
Sent: Wednesday, October 25, 2000 2:47 PM
Subject: RE: [PHP-DB] Strange Problem
> Hi,
>
> >From what I've seen of your code snipplet, you didn't set any value to
the $name variable. It's probably priting the
> variable except that there is nothing in it so it's a correct behaviour ie
print a blank.
> Try assigning a value to your variable like
>
> $name = "Testing";
>
> Then try to echo() it.
>
>
> > -----Original Message-----
> > From: True Software Solutions Private Limited [mailto:info@truesoft.net]
> > Sent: Thursday, October 26, 2000 2:11 AM
> > To: php-db@lists.php.net
> > Subject: [PHP-DB] Strange Problem
> >
> >
> > Dear Friends,
> >
> > I have just started working on PHP, and am facing a strange problem, I
tried
> > to run a small application : -
> >
> > **********************
> > <html>
> > <form>
> > Please enter your user name :<br>
> > <input type=text name=name>
> > <input type=submit value="Submit Data">
> > </form>
> >
> > <?
> > echo("Welcome ");
> > echo($name);
> > ?>
> > </html>
> > **********************
> >
> > Now, it echo's the line "Welcome " but $name never gets printed. Please
try
> > to run this script on you system and see if you also get the same
problem.
> >
> > I will appriciate if anyone can help it out (I am using PHP 4.0 with
> > Microsoft Personal Web Server).
> >
> > Best Regards,
> > Ashish Chamoli
> > True Software Solutions Private Limited
> > 515, Suneja Tower - II,
> > 12 District Centre Janakpuri,
> > New Delhi - 110058 (India)
> >
> >
> > --
> > PHP Database Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net
> > For additional commands, e-mail: php-db-help@lists.php.net
> > To contact the list administrators, e-mail: php-list-admin@lists.php.net
> >
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net
> For additional commands, e-mail: php-db-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>