469,612 Members | 2,222 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,612 developers. It's quick & easy.

Image string function in PHP

Bob
My understanding of the image string function is this, that it allows the
display of text in Graphics
As per the parameters it receives:

ImageString($image,6,$xpos,$ypos,$out,$col)

these params:
1. name of thew image to write on
2. size of the font
3. X co-ordinate of the first letter of the string
4. Y co-ordinate of the first letter of the string
5. The string to be printed
6. The colour to display the string in.

My Question is can the "string to be printed' be used as an <a> to a frame,
and just say I was to design a frame that had images with text, how could I
put the primary key to a mysql table in what is passed into the php frame I
refence from the anchor.

basically How can I get from a clickedon image in frame one to getting the
primary key from this and then passing it into frame two fro a data base
lookup, I have the mySql side of it and displaying the PHP down pat, just
getting the key across from a clicked on image (HTML and javascript)
Is the target attribute of the <a> tag enough or is there another global
type variable I can store a key in and pass it into the php which then does
the lookup.

Can you comment on this plaease
<a href=\"frame2.php?content=$key\>"$value[0]</a>
is this a better method of passing a variable into php than trying to use
TARGET ?
Any help greatly apprecated, I'm trying to do too much at once with my
limited understanding, and just going in circles.

Thanks

Jul 17 '05 #1
0 1756

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by dave | last post: by
4 posts views Thread by Shumit Rehman | last post: by
6 posts views Thread by Chris D | last post: by
7 posts views Thread by Scott Schluer | last post: by
18 posts views Thread by John | last post: by
6 posts views Thread by anonymous | last post: by
reply views Thread by Keldair via DotNetMonster.com | last post: by
reply views Thread by devrayhaan | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.