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
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
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
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
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
"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
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
7 matches
Mail list logo