hi all,
I have some doubt in php. Is it possible to read
character by character from the database field(Mysql) instead of reading whole field and storing it in a variable?
or is it possible to read character by character from a php variable?
Thanks.
Hi,
try following:
$word = "test"; echo $word[0]; // t echo $word[1]; // e echo $word[2]; // s echo $word[3]; // t
wizkid