[PHP] more on trimming

2001-02-16 Thread jaskirat
ace on the end which may still remain. But I feel its still not a fool proof solution because there may be two spaces in between words some where also which will then be clubbed together. Any body has a better idea. Jaskirat At 09:51 PM 2/16/01 -0500, you wrote: >> Trim() will in fact

Re: [PHP] location

2001-02-17 Thread jaskirat
make a function which validates users. Then where ever you want to restrict access just call that function before other things .. and it will do the trick where ever you need .. no if statements needed. HTH Jaskirat At 11:47 PM 2/16/01 -0800, Brandon Feldhahn wrote: >how would i make somth

Re: [PHP] Breaking up a line and using the text?

2001-02-05 Thread jaskirat
Hi, Read about ereg_replace() function in PHP. some thing like $string = ereg_replace(" ","\n",$string) should do the trick for you. HTH Jaski At 01:00 PM 2/5/01 +, Sam wrote: >Hi all, > >I was wondering if it is possible to break up a line of text from a >database, and split it into sepa

[PHP] return value from recursive function

2001-07-29 Thread Jaskirat
Hi, How to get return value from a recursive function .. here is the test code which I was trying Its printing "123" where as I was expecting "123xyz" what is happening to $returnvalue TIA Jaski -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For