[PHP] Re: Stupid question

2013-02-27 Thread Jim Giner
On 2/26/2013 4:27 PM, Curtis Maurand wrote: I have the following: $dsn = mysqli://$username:$password@$hostname2/$database; $options = array( 'debug' = 3, 'result_buffering' = false, ); $dbh = MDB2::factory($dsn, $options); if (PEAR::isError($mdb2)) {

Re: [PHP] Re: Stupid question

2013-02-27 Thread Serge Fonville
Perhaps he could share all relevant code, since at this time we are mostly guessing. Declaration/assignment of a lot of variables isn't included in the snippets. HTH Kind regards/met vriendelijke groet, Serge Fonville http://www.sergefonville.nl Convince Microsoft! They need to add TRUNCATE

RE: [PHP] Re: Stupid question

2013-02-27 Thread Ford, Mike
-Original Message- From: Jim Giner [mailto:jim.gi...@albanyhandball.com] Sent: 27 February 2013 12:28 2 - you have a couple indices wrapped in curly braces, not parens. Is that some new kind of syntax I'm not aware of? No, that's some old kind of syntax you have no reason to be

[PHP] Re: Stupid question

2004-12-04 Thread Peter Lauri
Do phpinfo() for that, you will find that information there. /Peter Phpu [EMAIL PROTECTED] skrev i meddelandet news:[EMAIL PROTECTED] Hi, If i have a php and mysql website...how many connections support mysql at one time ? Thanks -- PHP General Mailing List (http://www.php.net/) To

[PHP] Re: Stupid question

2004-12-04 Thread Matthew Weier O'Phinney
* Phpu [EMAIL PROTECTED]: If i have a php and mysql website...how many connections support mysql = at one time ? Depends on your mysql setup; you'll have to look at the mysql configuration file (/etc/my.cnf on most *nices). -- Matthew Weier O'Phinney | mailto:[EMAIL PROTECTED]

[PHP] Re: Stupid question

2004-03-17 Thread Luis Mirabal
when you are working with classes and objects in php, and you are coding inside a class, you must use the $this variable to access the members of the class, for example: class test { //Class vars (something like properties) var $a; var $b; var $c; var $sum; //Class

[PHP] Re: Stupid question

2004-03-17 Thread Luis Mirabal
as Chris W. Parker noticed, there is a little mistake in the example above posted by me, it says: //Class function function set() { $sum = $this-a . $this-b . $this-c; } and it should say: //Class function function set() { $this-sum = $this-a . $this-b . $this-c; } sorry :P luis. Luis

RE: [PHP] Re: Stupid question

2004-03-17 Thread Chris W. Parker
Luis Mirabal mailto:[EMAIL PROTECTED] on Wednesday, March 17, 2004 3:18 PM said: as Chris W. Parker noticed, there is a little mistake in the example above posted by me, it says: i'd like to thank the academy, my parents, God, my cat, and all of those that voted for me! thank you! kisses

[PHP] Re: Stupid question, sorry...

2003-02-06 Thread Mathieu Dumoulin
All single quotes around variables or escape characters are written out man! it's as simple as that. example you have a variable named $hey and you want to output $hey, you can't it's gonna replace the content of that string with the value of $hey. When you put stuff inside ' ' they are not

[PHP] Re: Stupid question, sorry...

2003-02-06 Thread Goetz Lohmann
Chris Boget schrieb: Why is it that \n gets translated to a _new line_ when in double quotes whereas it's displayed as the literal when in single quotes? I checked out the docs but couldn't come up with a definitive answer. If someone could point me to the right page in the docs that

[PHP] Re: stupid question

2002-09-06 Thread nicos
I never saw that is it really working? it is supposed to be $_GLOBAL['lala'] too.. but.. -- Nicos - CHAILLAN Nicolas [EMAIL PROTECTED] www.WorldAKT.com - Hébergement de sites Internet Alex Shi [EMAIL PROTECTED] a écrit dans le message de news: [EMAIL PROTECTED] I have almost two years of

[PHP] Re: stupid question

2002-09-06 Thread Alex Shi
I checked the code again...it is $Globals{'lala'}... [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I never saw that is it really working? it is supposed to be $_GLOBAL['lala'] too.. but.. -- Nicos - CHAILLAN Nicolas [EMAIL PROTECTED] www.WorldAKT.com -

[PHP] Re: stupid question

2002-09-06 Thread nicos
It looks like that some yrs ago, the variable $GLOBALS contains all the variable of the page so thats like describing the variable of the page. I'm not sure too, I've never tested/used it. -- Nicos - CHAILLAN Nicolas [EMAIL PROTECTED] www.WorldAKT.com - H¨¦bergement de sites Internet Alex Shi

Fw: [PHP] Re: stupid question

2002-09-06 Thread Kevin Stone
Message - From: Alex Shi [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, September 06, 2002 1:28 PM Subject: [PHP] Re: stupid question I checked the code again...it is $Globals{'lala'}... [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I n

[PHP] Re: stupid question

2002-09-06 Thread nicos
Correction: /* Get the first character of a string */ $str = 'This is a test.'; $first = $str{0}; $first will be 'T' -- Nicos - CHAILLAN Nicolas [EMAIL PROTECTED] www.WorldAKT.com - Hébergement de sites Internet Alex Shi [EMAIL PROTECTED] a écrit dans le message de news: [EMAIL PROTECTED] I

[PHP] Re: stupid question

2002-08-14 Thread Jean-Christian Imbeault
Liam, when you want to post a new message to the list don't just hit the reply button and change the subject. If you do that you message appears in the thread of the message you replied to. It really messes things up for people who follow message threads. And worse you might not get any

Re: [PHP] Re: stupid question

2002-08-14 Thread Liam MacKenzie
Ok, point taken. Sorry, I didn't know. Also, thanks for the help, I got it :-) - Original Message - From: Jean-Christian Imbeault [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, August 15, 2002 1:52 PM Subject: [PHP] Re: stupid question Liam, when you want to post a new

[PHP] Re: Stupid question

2002-05-02 Thread Henrik Hansen
[EMAIL PROTECTED] (Liam Mackenzie) wrote: I have a script that outputs this: 0.023884057998657 What's the command to make it shrink down to this: 0.023 round() -- Henrik Hansen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php