I noticed that Message-ID:
<a3************ *************@p osting.google.c om> from sarah contained
the following:
I understand from this that i will need to create a simple form, and
have images in the specified folder that i have made, but apart from
the "echo" command i don't really understand much more of your code.
It probably looks easy to some of you but i haven't acquired enough
skills yet to implement this.
The script pretty much works as is.
I have six images of the numbers 1 to 6 named 1.jpg, 2.jpg and so on
Obviously for an alphabet you need many more.
http://www.ckdog.co.uk/js/number%20images.php
Here is the code.
<HTML>
<HEAD>
<TITLE>number images</TITLE> <META HTTP-EQUIV="Content-Type"
CONTENT="text/html; charset=iso-8859-1">
</HEAD>
<BODY BGCOLOR="#FFFFF F" TEXT="#000000">
<FORM NAME="form1" METHOD="post" ACTION="">enter numbers between 1 and 6
<BR>e.g
123432<BR> <INPUT TYPE="text" NAME="inputbox" ><INPUT TYPE="submit"
NAME="Submit" VALUE="Submit"> </FORM>
<?php
$input=$_POST["inputbox"];
$letters = preg_split('//', $input, -1, PREG_SPLIT_NO_E MPTY);
echo "<nobr>";
foreach($letter s as $letter) {
echo "<img src=\"$letter.j pg\">";
}
echo "</nobr>";
?>
</BODY>
</HTML>
--
Geoff Berrow (put thecat out to email)
It's only Usenet, no one dies.
My opinions, not the committee's, mine.
Simple RFDs
http://www.ckdog.co.uk/rfdmaker/