At 14:34 06.11.2002, Markus Jäntti said:
[snip]
>$sql ="CREATE TABLE $_POST[table_name] ((";
[snip]
If you are including an array expression within a string, you should
enclose it in curly braces, like this:
$sql ="
OTECTED]>
Sent: Wednesday, November 06, 2002 9:19 AM
Subject: RE: [PHP] New to PHP, and stuck
> I am not php expert but why are there two (( after your create table?
>
> -Original Message-
> From: Markus Jäntti [mailto:janmark@;bodo.kommune.no]
> Sent: Wednesday, Novemb
to:janmark@;bodo.kommune.no]
Sent: Wednesday, November 06, 2002 8:34 AM
To: [EMAIL PROTECTED]
Subject: [PHP] New to PHP, and stuck
I'm working myself through Julie C. Meloni's book "PHP" and now I'm stuck at
chapter 12.
My script gives me this error: You have an error in
ok, nevermind, I think I see why...
-Original Message-
From: Edward Peloke [mailto:epeloke@;echoman.com]
Sent: Wednesday, November 06, 2002 9:20 AM
To: Markus Jäntti; [EMAIL PROTECTED]
Subject: RE: [PHP] New to PHP, and stuck
I am not php expert but why are there two (( after your
I am not php expert but why are there two (( after your create table?
-Original Message-
From: Markus Jäntti [mailto:janmark@;bodo.kommune.no]
Sent: Wednesday, November 06, 2002 8:34 AM
To: [EMAIL PROTECTED]
Subject: [PHP] New to PHP, and stuck
I'm working myself through Ju
I'm working myself through Julie C. Meloni's book "PHP" and now I'm stuck at
chapter 12.
My script gives me this error: You have an error in your SQL syntax near
'()' at line 1
even tho I've even tried replacing my own work with the file from the book's
companion-files.
I'd be very happy if someon
6 matches
Mail list logo