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
The first thing I do when confronted with this kind of problem is to print
out the sql statement and carefully look through it. So if you have not done
this yet, comment out the $result = statement. Above that add an echo $sql;
Now look through the sql statement and make sure all fields are there a
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 Julie C. Meloni'
5 matches
Mail list logo