I would like to find out if PHP4 has an inbuilt function to put in a range function for alphabets in an array, without having to type out all 26+ characters. I can only find range which is only used for integers.
adieu
what exactly do you need your code to do? i'm not clear on what you're looking for... if you could post a snippet of pseudo-code, it might help get an answer..
what?!
$var = array(); for ($x = 65; $x < 91; $x++) $var[] = chr($x);
?
ya i agree with some thing like this
$range = array();
for ($i=ord(a); $i <= ord (z) ; $i++){ echo chr($i)."<br>"; }
thats it
cheers mandar@freeos.com
Yups! that's it. Danker 🙂