RE: [PHP-DB] Variables Forms

2007-10-17 Thread Bastien Koert
Ron, The email subject line should not have a br / tag in it at all. It is not allowed under the specifications if I remember correctly. I would suggest that when you suck the message in, first thing to do is to remove the br / tag with str_replace... Would this get you on your way?

Re: [PHP-DB] Variables Forms

2007-10-17 Thread Niel Archer
Hi Ron br / is perfectly legitimate in an e-mail header field like Subject:. All headers may contain any combination of ASCII characters except CR and LF which are used to terminate the field (See RFC8222 section 2.2). There is also defined a means to fold lines which involves using the

RE: [PHP-DB] Variables in database content

2004-05-23 Thread Sunmaia
Hi you need eval() http://uk2.php.net/manual/en/function.eval.php HTH Peter -Original Message- From: Brian Stoffer [mailto:[EMAIL PROTECTED] Sent: 23 May 2004 23:34 To: [EMAIL PROTECTED] Subject: [PHP-DB] Variables in database content Hi there. I have what I suspect is an

Re: [PHP-DB] Variables not working within Functions

2003-10-19 Thread Colin Kettenacker
Or pass the variable $username as an argument into your function: function LoginSystem($username) { // your function code } LoginSystem($username); ck -- Cheap Domain Registration | Web Hosting | Email Packages | + more Fantastic prices -- Even better service. http://www.hosttohost.net

Re: [PHP-DB] Variables not working within Functions

2003-10-15 Thread Chris Wanstrath
You are using a variable outside of the function's scope. In the function, do this: global $username; Visit www.php.net/man to get a better understanding of globals and scope. On Wed, 2003-10-15 at 22:10, Adam Symonds wrote: Hi, I am starting to us functions with my work but I am having

RE: [PHP-DB] Variables de SESSION dentro de funciones PHP

2002-12-13 Thread Snijders, Mark
english please!!! ___ Mark Snijders, Developer Atos Origin Groenewoudeseweg 1, Room VN-515 5621 BA Eindhoven, The Netherlands * : [EMAIL PROTECTED] *:+31 (0)40 - 2785992 (tel) * : +31 (0)40 - 2788729 (fax) The information in this mail is intended

RE: [PHP-DB] Variables de SESSION dentro de funciones PHP

2002-12-13 Thread Ruprecht Helms
Hi Francisco José Saiz netPerceptions, would you be so kind and repeat your mail in english. Regards, Ruprecht -- Ruprecht Helms IT-Service und Softwareentwicklung Tel/Fax.: +49[0]7621 16 99 16 Homepage: http://www.rheyn.de email: [EMAIL

RE: [PHP-DB] Variables de SESSION dentro de funciones PHP

2002-12-13 Thread Michael Hazelden
PROTECTED]] Sent: 13 December 2002 12:32 To: Francisco José Saiz :@mayn.de: netPerceptions Cc: [EMAIL PROTECTED] Subject: RE: [PHP-DB] Variables de SESSION dentro de funciones PHP Hi Francisco José Saiz netPerceptions, would you be so kind and repeat your mail in english. Regards, Ruprecht

RE: [PHP-DB] Variables de SESSION dentro de funciones PHP

2002-12-13 Thread Francisco José Saiz : : netPerceptions
PROTECTED] Subject: RE: [PHP-DB] Variables de SESSION dentro de funciones PHP english please!!! ___ Mark Snijders, Developer Atos Origin Groenewoudeseweg 1, Room VN-515 5621 BA Eindhoven, The Netherlands * : [EMAIL PROTECTED] *:+31 (0)40 - 2785992 (tel

RE: [PHP-DB] Variables de SESSION dentro de funciones PHP

2002-12-13 Thread Francisco José Saiz : : netPerceptions
Thanks, I'll try it now. -Original Message- From: Leif K-Brooks [mailto:[EMAIL PROTECTED]] Sent: Friday, December 13, 2002 1:49 PM To: Francisco José Saiz :: netPerceptions Subject: Re: [PHP-DB] Variables de SESSION dentro de funciones PHP You're mixing register_globals off session

RE: [PHP-DB] Variables

2002-11-08 Thread Hutchins, Richard
It would seem that your IF statement, as it is written below, evaluates to true every time because I'm guessing that the hexadecimal value of the string timeb is larger than the hexadecimal value of timea. Like I said, just a guess. I'm also guessing that you actually want to compare two values

RE: [PHP-DB] Variables coming from forms

2002-09-22 Thread Peter Lovatt
could be a register globals issue? Peter --- Excellence in internet and open source software --- Sunmaia www.sunmaia.net tel. 0121-242-1473 --- -Original

Re: [PHP-DB] variables gone?

2002-05-29 Thread Ed Gorski
In php.ini you need to turn register_globals on..you also might want to start using the $_GET, $_POST, $_SESSION global arrays ed At 02:49 PM 5/29/2002 +0100, Rob Fraser wrote: Dear All, I am probably doing something silly but I don't know what (story of my life). I have just upgraded to

RE: [PHP-DB] variables gone?

2002-05-29 Thread Mark Roedel
Beginning in PHP 4.2.0, the normal behavior with respect to preloaded variables was changed (specifically, the default value of the register_globals configuration entry was changed from on to off). For details, see http://www.php.net/manual/en/language.variables.predefined.php ---

RE: [PHP-DB] Variables

2002-04-25 Thread Ryan Jameson (USA)
I think what you don't know is this: $varName = c1; $$varName = 3; that just set $c1 to equal 3. Does that help? -Original Message- From: Julio Cuz, Jr. [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 25, 2002 9:56 AM To: [EMAIL PROTECTED] Subject: [PHP-DB] Variables HI-- * I

RE: [PHP-DB] Variables

2002-04-25 Thread Ryan Jameson (USA)
In an attempt to be less vague I think you want to change your line: $c . $count+1 = $artist[$count]; to be: $varName = $c.($count+1); $$varName = $artist[$count]; Got it now? --- I think what you don't know is this: $varName = c1; $$varName = 3; that just set $c1 to

Re: [PHP-DB] Variables in a loop

2001-10-30 Thread Bruno Gimenes Pereti
try form... input name=a[] value=.. input name=a[] value=.. input name=a[] value=.. input name=a[] value=.. and for ($i=1; $i=10; $i++) { $tab[$i]=$a[$i] ;} This way $a will be a array. Hope it helps Bruno Gimenes Pereti. - Original Message - From: LeTortorec, Jean-Louis [EMAIL

Re: [PHP-DB] Variables in a loop

2001-10-30 Thread Jason G.
If you have a string that is the name of an input field, you can do one of 3 things: Ex: $sName = input.$i; //result = input1 $sName = input.$i; //result = input2 etc... 1: Variable Variables $value = $$sName; 2: If you posted the form $value = $HTTP_POST_VARS[$sName]; 3: If you used GET

Re: [PHP-DB] Variables in a loop

2001-10-29 Thread * RzE:
Original message From: LeTortorec, Jean-Louis [EMAIL PROTECTED] Date: Mon, Oct 29, 2001 at 04:03:45PM -0500 Message-ID: 615315231286D21182E40008C7B1EED23C6E76@COMPAQ3000 Subject: [PHP-DB] Variables in a loop I'm trying to write a loop to read variables I receive from a form: form ... input

RE: [PHP-DB] Variables in MySQL Insert Queries

2001-08-24 Thread KSchneider
plague -- unfortunately i don't have the beginnings of this thread, but if your code below is verbatim, it looks as though you are missing the mysql_query() statement. that should drop your information. kate -Original Message- From: plague [mailto:[EMAIL PROTECTED]] Sent:

RE: [PHP-DB] variables

2001-08-22 Thread Beau Lebens
if there is a value in $HTTP_POST_VARS[variable_name] then it came via a form with method=POST, if there's a value in $HTTP_GET_VARS[variable_name] then it came from querystring or a form with method=GET beau // -Original Message- // From: J-E-N [mailto:[EMAIL PROTECTED]] // Sent:

Re: [PHP-DB] Variables and DB

2001-04-19 Thread Johannes Janson
how about posting the code? or describe the problem a bit closer. Johannes "Rui Machado" [EMAIL PROTECTED] schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hello I'm writting a registration form with connection to mysql DB, but I have a problem in the last step, I can't

Re: [PHP-DB] variables

2001-03-29 Thread Terry Romine
On Thursday, March 29, 2001, at 04:58 PM, Scott Kalbach wrote: I have the individual queries in include files. It does the first 2 queries fine,but when it gets to the third, the value of $customer seems to be gone, so I get no result for the rest of the query's. I looked in my scripts

Re: [PHP-DB] variables

2001-03-29 Thread Phil Jackson
Dunno without looking at code, but try storing the value of $customer into a local variable when the script is invoked - something is wiping it clean. my thunks, Phil J. Scott Kalbach wrote: I am having a problem with losing a variables value. What I am doing is taking the value from a