Re: [PHP] defined

2006-02-25 Thread Richard Lynch
On Sat, February 25, 2006 4:18 pm, [EMAIL PROTECTED] wrote: > I'm having kind of a weird problem I want $MailSubject to contain a > the value "prayer" unless I tell it other wise. > > // on a form processor. > $MailSubject = "Praise"; > include_once("mailit.php"); > > // then in mailit.php > includ

Re: [PHP] defined

2006-02-25 Thread tedd
I'm having kind of a weird problem I want $MailSubject to contain a the value "prayer" unless I tell it other wise. // on a form processor. $MailSubject = "Praise"; include_once("mailit.php"); // then in mailit.php include "form2mail.php"; // and in formtomail.php if(!defined($MailSubject)) //

Re: [PHP] defined

2006-02-25 Thread sub
ED]> Cc: Sent: Saturday, February 25, 2006 3:27 PM Subject: Re: [PHP] defined > > > I'm having kind of a weird problem I want $MailSubject to contain a the value "prayer" unless I tell it other wise. > > > > // on a form processor. > > $MailSubject = &q

Re: [PHP] defined

2006-02-25 Thread chris smith
On 2/26/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > I'm having kind of a weird problem I want $MailSubject to contain a the value > "prayer" unless I tell it other wise. > > // on a form processor. > $MailSubject = "Praise"; > include_once("mailit.php"); > > // then in mailit.php > include

Re: [PHP] defined

2006-02-25 Thread Philip Hallstrom
I'm having kind of a weird problem I want $MailSubject to contain a the value "prayer" unless I tell it other wise. // on a form processor. $MailSubject = "Praise"; include_once("mailit.php"); // then in mailit.php include "form2mail.php"; // and in formtomail.php if(!defined($MailSubject))

[PHP] defined

2006-02-25 Thread sub
I'm having kind of a weird problem I want $MailSubject to contain a the value "prayer" unless I tell it other wise. // on a form processor. $MailSubject = "Praise"; include_once("mailit.php"); // then in mailit.php include "form2mail.php"; // and in formtomail.php if(!defined($MailSubject)) /

Re: [PHP] Defined constant in mysql_query - Question.

2005-04-12 Thread Petar Nedyalkov
On Wednesday 13 April 2005 04:37, Labunski wrote: > Hi, > Can I use Constant in mysql query like this: > > > define("LANG", "eng"); > mysql_query("SELECT * FROM data WHERE col = 'articles' ORDER BY > subjectLANG"); You can use: mysql_query("SELECT * FROM data WHERE col = 'articles' ORDER BY sub

[PHP] Defined constant in mysql_query - Question.

2005-04-12 Thread Labunski
Hi, Can I use Constant in mysql query like this: define("LANG", "eng"); mysql_query("SELECT * FROM data WHERE col = 'articles' ORDER BY subjectLANG"); Thanks a LOT, Lab. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php