RE: [PHP] Insert in database
| From: | Ford, Mike [LSS] | Date: | Tue, 30 Apr 2002 10:15:37 +0000 |
| Subject: | RE: [PHP] Insert in database | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-95350@lists.php.net to get a copy of this message | ||
> -----Original Message-----
> From: Justin French [mailto:justin@indent.com.au]
> Sent: 30 April 2002 00:04
>
> instead of
>
> echo("Hi
> ",$_POST['fname']," ",$_POST['lname'],"Thank You
> For
> Registering !!!");
>
> try
>
> echo "Hi
> ".$_POST['fname']." ".$_POST['lname']."Thank You
> For
> Registering !!!";
You don't need to go as far as that. Just removing the parentheses from the original statement
would have done the trick -- the commas are fine.
Cheers!
Mike
---------------------------------------------------------------------
Mike Ford, Electronic Information Services Adviser,
Learning Support Services, Learning & Information Services,
JG125, James Graham Building, Leeds Metropolitan University,
Beckett Park, LEEDS, LS6 3QS, United Kingdom
Email: m.ford@lmu.ac.uk
Tel: +44 113 283 2600 extn 4730 Fax: +44 113 283 3211