Print 'a' to 'z' via for loop


Posted on 16th Feb 2014 07:03 pm by admin

A very simple problem..
How Can I print a to z NOT a to y ?
It is a part of a code where

| $alpha= 'a';for($alpha='a';$alpha!='z';$alpha++){echo $alpha.' ';}

Output: a b c d e f g h i j k l m n o p q r s t u v w x y
$alpha!='z' have the problem..$alpha<='z' creates problem.
please help me about the for loop condition.

84 Like 54 Dislike
Previous php-forum Next php-forum
Other php-forum

IMAGE - SERVER SIDE scripting help...
How to receive pixel data of an image and buid a bitmap file on the server using the HTTP POST metho

registration form
first time posting. did some searches but didnt find exactly what i am looking for. dont flame cause

serializing objects - loses methods - the point being?
Hi

I know that serializing an object will lose the methods. But whats the point in that? What

Why does this file not return file names that start with numbers?
This file returns a list of filenames to help populate a drop down in my form. For some reason it ig

how to remove in php string display
My code is $message="We're looking at developing our website."; $body= "My mess

having probem inserting data into db table
hi

i have a table with following columns in it
Code: candidate_id, degree, cgpa, institute

Why use OOP?
Can someone explain to me why I should use OOP instead of procedure based code.

Im building a

Am i doing this wrong?
Im pulling from an Oracle database some info... one of which is a field count_pnums which is a NUMBE

Preg_match with an array
is there an away to use preg_match with an array?

i want to check a string with an array to s

Prevent PHP mail( ) from appending hostname to from address
Hey guys,

I want to be able to send texts to phones via email (since each phone has their own

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash