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'],nbsp;,$_POST['lname'],Thank You For Registering !!!); try echo Hi .$_POST['fname'].nbsp;.$_POST['lname'].Thank You For Registering !!!; You

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'],nbsp;,$_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

[PHP] Insert in database

2002-04-29 Thread Arpan De
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): ?php If(($_POST['fname']==) || ($_POST['lname']==)

Re: [PHP] Insert in database

2002-04-29 Thread Richard Baskett
accepting it. - Aristotle From: Arpan De [EMAIL PROTECTED] Date: Tue, 30 Apr 2002 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

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: ?php If (($_POST['fname']==) || ($_POST['lname']==) { echo(Please Enter Information In All The Fields !!!); } Else {

Re: [PHP] Insert in database

2002-04-29 Thread Arpan De
ccepting it. - Aristotle From: Arpan De [EMAIL PROTECTED] Date: Tue, 30 Apr 2002 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

Re: [PHP] Insert in database

2002-04-29 Thread Justin French
hank You For Registering !!!); } ? 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: [PHP] Insert in database I have a simple H