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 #5512 is a reply to message #5503] Thu, 05 September 2002 14:17 Go to previous messageGo to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma:
Senior Member
Administrator
Core Developer
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.


FUDforum Core Developer
[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 13:41:08 GMT 2024

Total time taken to generate the page: 0.04000 seconds