-
I am starting to play around with php... ( I am 13 for the record) Now, My host adds script to my php.. After my last print statement, it puts <! This was Generated BLAH BLAH Please delete!> And for some reason my print statement picks that up also. So instead of haveing just my varible it has the varible and the automated script in it.. Is there a way to totally end the print statment.. Like a print end;
or something that i haven't stumbled across... Or am i just setting the print statement up wrong..
<? Print "&Var1=2"; ?> Is that not the proper way to set up a print statement? Please post back..
Mike Haverstock
[Edited by mike6888 on 02-28-2002 at 05:44 PM]
-
hiThere!
That sucks!
try adding this after your print and befor the **** extra code from your host:
exit;
This tells the php to stop executing.
Hope that helps!
-
<? Print "&Var1=2"; ?> is wrong.
try this:
<? print("&Var1=2"); ?>
or this:
<? echo '&Var1=2'; ?>
Charlie...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|