Re: [PHP] Insert in database

2002-04-30 Thread Jason Wong
On Tuesday 30 April 2002 18:15, Ford, Mike [LSS] wrote: > > 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 comm

RE: [PHP] Insert in database

2002-04-30 Thread Ford, Mike [LSS]
> -Original Message- > From: Justin French [mailto:[EMAIL PROTECTED]] > 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 > Registerin

Re: [PHP] Insert in database

2002-04-29 Thread Justin French
Just to point out how good the manual is :) php.net/echo "echo() is not actually a function (it is a language construct) so you are not required to use parentheses with it. In fact, if you want to pass more than one parameter to echo, you must not enclose the parameters within parentheses. It is

Re: [PHP] Insert in database

2002-04-29 Thread Arpan De
Hi Richard, Thank you very much for your prompt response. I incorporated the changes you have suggested in my code but I am still getting exactly the same error !!! What do I do now? I even commented the 3 lines related to database but when I executed the code again, I got the same error but poin

Re: [PHP] Insert in database

2002-04-29 Thread Miguel Cruz
On Mon, 29 Apr 2002, Richard Baskett wrote: > Well you don't have an curly braces anywhere in your code.. > > Try this: > > > If (($_POST['fname']=="") || ($_POST['lname']=="") { > echo("Please Enter Information In All The Fields !!!"); } > Else { > $connectionString=odbc_connect("PHPI

Re: [PHP] Insert in database

2002-04-29 Thread Richard Baskett
Well you don't have an curly braces anywhere in your code.. Try this: Rick "It is the mark of an educated mind to be able to entertain a thought without accepting it." - Aristotle > From: "Arpan De" <[EMAIL PROTECTED]> > Date: Tue, 30 Apr 2002 02:34:53 +0530 > To: [EMAIL PROTECTED] > Subject