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
> -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
; $exeQuery=odbc_do($connectionString,$query);
>> odbc_close($connectionString);
>>
>> echo("Hi ",$_POST['fname']," ",$_POST['lname'],"Thank You For
>> Registering !!!");
>> }
>>
>> ?>
>>
>&
ose($connectionString);
>
> echo("Hi ",$_POST['fname']," ",$_POST['lname'],"Thank You For
> Registering !!!");
> }
>
> ?>
>
> Rick
>
> "It is the mark of an educated mind to be able to entertain a thought
&
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
02:34:53 +0530
> To: [EMAIL PROTECTED]
> Subject: [PHP] Insert in database
>
> I have a simple HTML Form where a user has to enter his first & last name
> which will be inserted in a SQL Server database table. The PHP code which
> does the needful is as follows (I have created a DS
I have a simple HTML Form where a user has to enter his first & last name
which will be inserted in a SQL Server database table. The PHP code which
does the needful is as follows (I have created a DSN named PHPInsert
successfully as well):
The above code, when executed, throws the following err
7 matches
Mail list logo