Hi,
Friday, March 19, 2004, 2:57:57 PM, you wrote:
JM> No prob. I'm still working on a fix for my problem. I know I don't have a
JM> javascript error, if I copy and paste to another file it works fine. Just
JM> not in the php file. I'll mess with including it with the
No prob. I'm still working on a fix for my problem. I know I don't have a
javascript error, if I copy and paste to another file it works fine. Just
not in the php file. I'll mess with including it with the
Hi,
Friday, March 19, 2004, 2:26:06 AM, you wrote:
F> "Tom Rogers" <[EMAIL PROTECTED]> wrote in message
F> news:[EMAIL PROTECTED]
F> Cool, it works!
F> include ("the file where the tables are stored") after the the
F> variables are defined, and it works.
F> I took 3 semesters of C and C++ progr
"Tom Rogers" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
> Hi,
>
> Friday, March 19, 2004, 1:11:52 AM, you wrote:
>
>
> F> Doesn't $name = "blah blah"; define it enough?
>
>
> Not if it comes after $table_1 = "".$name."";
> at this point $name does not exist. Try turning on E_A
Hi,
Friday, March 19, 2004, 1:11:52 AM, you wrote:
F> Doesn't $name = "blah blah"; define it enough?
Not if it comes after $table_1 = "".$name."";
at this point $name does not exist. Try turning on E_ALL error
reporting and it will tell you things like this.
--
regards,
Tom
--
PHP Gene
> F> F> $table_1 = "".$name."";
> F> $table_2 = "".$message."";
>
> F> $name = "blah blah";
>
> F> if(blah blah){
> F> echo $table_1;}
> F> else{
> F> echo $table_2;}
> ?>>
>
> You have to define variable $name before you try to use it.
> The only other way would be to eval the string but
Hi,
Friday, March 19, 2004, 12:44:40 AM, you wrote:
F> I would be very interested in a solution to this problem because I have a similar
one.
F> I stored tables on a page.
F> examp:
F> $table_1 = "".$name."";
F> $table_2 = "".$message."";
F> etc...
F> and included the page and used the variab
I would be very interested in a solution to this problem because I have a similar one.
I stored tables on a page.
examp:
$table_1 = "".$name."";
$table_2 = "".$message."";
etc...
and included the page and used the variables (echo $table_1;)
The table displayed as it should,
however the variabl
8 matches
Mail list logo