FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » General » PHP discussions » help
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: help [message #5519 is a reply to message #5512] Fri, 06 September 2002 00:43 Go to previous messageGo to previous message
ezdb is currently offline  ezdb   China
Messages: 158
Registered: May 2002
Location: china
Karma:
Senior Member

prottoss wrote on Thu, 05 September 2002 22:17

You do not need to do what you are doing.
In php a string can already be accessed like an array if you need a particular character.

for example:

$str = '123456';

echo $str[2];
would echo '3' and so on.


Laughing Embarassed
[Message index]
 
Read Message icon12.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: the ? operator
Next Topic: OOP php
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Wed Nov 27 15:35:57 GMT 2024

Total time taken to generate the page: 0.03893 seconds