Re: [PHP] Microsoft access + php

2003-03-18 Thread fLIPIS
I've written a tutorial on my site about this subject. You can find it here: http://www.flipis.net/tutoriales/php_myaccess.php It's in spanish, though -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: SQL DISTINCT with MYSQL

2003-03-17 Thread fLIPIS
ne = useronline.name WHERE useronline.uname LIKE' %your_Criteria_1%' AND file.useronline LIKE '%you_criteria_2%' I dunno if this is what you're looking for. Hope it helps fLIPIS -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Help with preg_replace() , PLEASE

2003-03-13 Thread fLIPIS
Got the solution (i wonder why i always get into the list, post the question and end up with the answer 15 minutes later. I'm obviously too nervous and rush for help :-) ) The correct code is the following: And that's all, folks!!! EOT; $text = preg_replace("/(.*)(<\?.*?\?>)(.*)/imse","'\\1'.h

[PHP] Help with preg_replace() , PLEASE

2003-03-13 Thread fLIPIS
I'm going mad about this. Now, i've got the following text: - BEGIN TEXT -- Let's see a very simple class sample And this was the sample -- END TEXT --- I'm using preg_rep

Re: [PHP] Help with ereg()

2003-03-12 Thread fLIPIS
No, actually i was wrong about this subject. The correct Regular Expression for this is the following: preg_match_all("/(<\?.*?\?>)/ims",$text,$source_code); The anterior was greedy, and so it matched the following: And now it only takes the text between , even multilined code. -- PHP Gene

[PHP] Re: tricky exec problem

2003-03-11 Thread fLIPIS
"Daniel" <[EMAIL PROTECTED]> escribió en el mensaje news:[EMAIL PROTECTED] > hi guys i am having a problem getting certain command line output bak to php > i am using the time binary to show the ammount of time it takes for the php > script to be compiled using the command line php although i am n

Re: [PHP] Help with ereg()

2003-03-11 Thread fLIPIS
digo_fuente_padre[1][2], TRUE); echo ""; And it works quite OK I removed the (\ at the beginning, and added the "s" to the end. Thanks, without your tip I was real lost. It was while reading this http://php.benscom.com/manual/es/pcre.pattern.syntax.php that i realized ho