RE: [PHP] Echo # problem

2003-02-12 Thread Ford, Mike [LSS]
> -Original Message- > From: Chris Hayes [mailto:[EMAIL PROTECTED]] > Sent: 12 February 2003 13:02 > > At 13:46 12-2-03, you wrote: > >The code I am trying to get working is shown below however, > as the # is > >interpreted as a comment the header function is only redirecting to > > > >./

RE: [PHP] Echo # problem

2003-02-12 Thread Chris Hayes
At 13:46 12-2-03, you wrote: The code I am trying to get working is shown below however, as the # is interpreted as a comment the header function is only redirecting to ./itemadmin.php3?submittedby=$submittedby&cat=$cat $head = "./itemadmin.php3?submittedby=$submittedby&cat=$cat#$edit"; header (

Re: [PHP] Echo # problem

2003-02-12 Thread Petre Agenbag
Two ways: a) echo "blabla # $blabla"; or b) echo 'blabla # '.$blabla; The # character must just be inside the echo's quotes. On Wed, 2003-02-12 at 13:36, Paul McQ wrote: > I am writing an application in which I need to redirect to an url using the > Header function. This redirection must inc

[PHP] Echo # problem

2003-02-12 Thread Paul McQ
I am writing an application in which I need to redirect to an url using the Header function. This redirection must include the # character so that the user is taken to the relevant part of the following page. PHP sees the # as a comment no matter what I do and therefore the redirection doesn't wo

Re: [PHP] echo "" problem NEW

2002-01-09 Thread Paul Burney
on 1/9/02 8:17 AM, Henning Sprang at [EMAIL PROTECTED] appended the following bits to my mbox: > just another one - but i am too out of practice with html standarts to > know if this is compliant ( a browser showing a result doesn't > neccessary mean it's standarts compliant!) FYI: By default,

Re: [PHP] echo "" problem NEW

2002-01-09 Thread Bas van Rooijen
Hello, In addition to Henning Sprang's fine solutions, you can also do the following (given you use PHP 4); $xmp_text EOF; ?> Note that the {} around your variables are optional, they will not be included in the output but can be used to avoid confusion. greets, bvr. On Wed, 9 Ja

Re: [PHP] echo "" problem NEW

2002-01-09 Thread Nicolas Costes
Yes, you're right !!! some browsers like IE will accept even , , , and some like Opera will only understand : ;-)) Le Mercredi 9 Janvier 2002 14:17, Henning Sprang a écrit : > Nicolas Costes wrote: -- ( * >Nicolas Costes, //\\ IUT de La Roche / Yon ( \/ ) [EMAIL PROTECTED] <

Re: [PHP] echo "" problem NEW

2002-01-09 Thread Henning Sprang
Nicolas Costes wrote: > Hellorghh !!! > You'd better do like this : > > echo " > just another one - but i am too out of practice with html standarts to know if this is compliant ( a browser showing a result doesn't neccessary mean it's standarts compliant!) henning -- PHP General Mai

Re: [PHP] echo "" problem NEW

2002-01-09 Thread Nicolas Costes
Hellorghh !!! You'd better do like this : echo " Le Mercredi 9 Janvier 2002 13:05, Henning Sprang a écrit : > Hy, > > universal2001 wrote: > > Hi again! > > > > Thanks for the reply! > > > > I still have another question: > > > > > > so I tired to use (echo) like this: > > > > echo " > > > >

Re: [PHP] echo "" problem NEW

2002-01-09 Thread Henning Sprang
Hy, universal2001 wrote: > Hi again! > > Thanks for the reply! > > I still have another question: > > so I tired to use (echo) like this: > > echo " > > border="0"> > > > src="img_heading/index_r1_c1.gif" width="639" height="5" border="0"> > border="0"> > > >

Re: [PHP] echo "" problem NEW

2002-01-08 Thread Steve Maroney
I simply use single quotes for html and double quotes for PHP. echo ""; works for me. Steve On Tue, 8 Jan 2002, Steven Cayford wrote: > On 2002.01.09 02:00:55 -0600 universal2001 wrote: > > > so I tired to use (echo) like this: > > > > echo " > > > > > border="0"> > > > > >

Re: [PHP] echo "" problem NEW

2002-01-08 Thread CC Zona
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Steven Cayford) wrote: > You can tell php to treat quotes as text by escaping > them: putting a \ in front of them like this: > > echo ""; > > Or you could drop out of php mode entirely to do your html like this: > > ...php stuff here ... >

FW: [PHP] echo "" problem NEW

2002-01-08 Thread Necro
ke sure at the end of your last addition line with . that you end the line with a ; E.g your last line would be ."\n"; That should help you. Andrew Duck -Original Message- From: universal2001 [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 9 January 2002 7:01 PM To: [EMAIL PROTECT

Re: [PHP] echo "" problem NEW

2002-01-08 Thread Steven Cayford
On 2002.01.09 02:00:55 -0600 universal2001 wrote: > so I tired to use (echo) like this: > > echo " > > border="0"> > > > src="img_heading/index_r1_c1.gif" width="639" height="5" border="0"> > border="0"> > > > src="img_heading/index_r2_c1.gif" width="25" height

[PHP] echo "" problem NEW

2002-01-08 Thread universal2001
Hi again! Thanks for the reply! I still have another question: I want to create a recycleable code by printing a set of html code which I copied and paste from my html edittor. however because there are lots of quotation marks on the html code it result an error page. here is part of the html