Re: [PHP] Re: [mysql]Problem with PHP5

2004-07-19 Thread [EMAIL PROTECTED]
Ciprian, I may have missed whether or not you were able to resolve your problem from a couple days ago. In one of my development environments (Win2K), I decided to install PHP 5.0 with MySQL(i) 4.1.x support in IIS5.0 and Apache 2 (running on different ports). It took a bit more work than I in

RE: [PHP] Re: Mysql Problem

2004-05-28 Thread Ian Barnes
Hi, Yes that was my mistake. But even with the code, it still doesnt display the last one. If i didnt put a " it wouldnt work at all. Thanks, Ian -Original Message- From: Torsten Roehr [mailto:[EMAIL PROTECTED] Sent: 28 May 2004 13:56 To: [EMAIL PROTECTED] Subject: [PHP] Re: Mysql Proble

Re: [PHP] Re: MySQL Problem

2002-10-03 Thread OrangeHairedBoy
Well, that's just a typo...of course there should be a () to make it call a function... The whole point to my postings is that I can't get the darn variable to stay in place!!! Look where it says "Prints NOTHING". Does anyone know why it doesn't print "Hello World"??? ::Lewis "Mike Ford" <[EM

RE: [PHP] Re: MySQL Problem

2002-10-03 Thread Ford, Mike [LSS]
> -Original Message- > From: OrangeHairedBoy [mailto:[EMAIL PROTECTED]] > Sent: 03 October 2002 09:39 > > Here's a simplier version...and I'm still having a problem > with it. It's > driving me insane!!! :) > > class MySQL > { > function SET ( ) > { > $this->MYVAR = "Hello World!"

Re: [PHP] Re: MySQL Problem

2002-10-03 Thread OrangeHairedBoy
I thought someone might mention that, but that is actually correct. The problem is that the variable assigned on the line $this->DBLink[$MyVars[NAME]] = mysql_connect( $MyVars[HOST] , $MyVars[USERNAME] , $MyVars[PASSWORD] ); dissapears and can't be retreived on the line mysql_select_db( $MyVars[D

Re: [PHP] Re: MySQL Problem

2002-10-03 Thread Tom Rogers
Hi, Thursday, October 3, 2002, 6:01:53 PM, you wrote: O> You know...maybe I should mention where this code is... O> I have my main file which loads using 'require.once' a second file called O> 'everything.php'. O> Inside everything.php is a class called 'mainclass' which is called by the O> mai

Re: [PHP] Re: MySQL Problem with PHP

2002-06-26 Thread Erik Price
On Wednesday, June 26, 2002, at 08:58 AM, John Holmes wrote: >> I just preg_replace("/\'/","\'",$text) and all was good :o) > > That's what addslashes() is for. It handles single and double quotes, > backslashes, and nulls, so you won't have any problems... Plus IIRC it's a C extension so it'l

RE: [PHP] Re: MySQL Problem with PHP

2002-06-26 Thread John Holmes
> I just preg_replace("/\'/","\'",$text) and all was good :o) That's what addslashes() is for. It handles single and double quotes, backslashes, and nulls, so you won't have any problems... ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.p