Quickie for someone
Hi I have been shown how to call an image from a variable can someone please show me how to call an html file using the same variable
so in other words say the $memid = 1234 then this below inserts the image 1234.jpg so how do I get another line to call 1234.html
print "<img src=\"/gfx/".(string)$row["memid"].".jpg\">";
You can do the same basic thing, but just use an include() function to include 1234.html.
I don't understand I am new to this can you elaborate please
To print out the contents of 1234.html, assuming $row[memid] is 1234, do this:
Thanks that had the desired effect except it prints the page instead of a link which in turn opens the page.
That's what you asked for. But in any case, you would do
Thanks guys I have worked it out.
printf("<td>Click Account Number For More Info:<a href=\"%s.html\" target=blank>%s</a>\n",
It works for now anyway lol
I have been trying to post a thankyou all day ....