Cant See For Looking

Started on the old forum in August 2007 · view the original in the archive · old links redirect here

10 replies · 886 views · started 19 years ago · 1 min read

4 participants
nclemale36 Lead · 537 posts #1

ave tried various variations of links and <img href=" blah blah but keep getting errors. all i want to do is make the logo.gif a link.

<?php header("Cache-Control: no-cache, must-revalidate"); header("Pragma: no-cache"); header("Content-type: text/vnd.wap.wml;"); echo '<?xml version="1.0"?>';

print '<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">'. '<wml>

<head><meta http-equiv="Cache-Control" content="no-cache" forua="true"/></head>'; echo "<card id=\"banner\" title=\"banner\"> "; print "<img src=\"1.gif\" alt =\"banner\"/>

<a href="top20.php">Top 20 sites</a>

<a href="newest.php">Latest 20 sites</a>

Choose Catagory:

<select name="cat">

<option value=\"1\">Adult</option> <option value=\"2\">Downloads</option> <option value=\"3\">Portal</option> <option value=\"4\">Chat/Forum</option> <option value=\"5\">Other</option> </select>

<a href="viewcat.php?cat=$(cat)">View Catagory</a>

<a href="new.wml">Add My Site</a>

<a href="edit.php">Edit My site</a>

"; echo "

<img src="an93.gif" alt ="line"/>

<img src="logo.gif" alt ="banner"/> NEED TO ADD THIS TO A LINK ??????

<img src="an93.gif" alt ="line"/>

</card></wml>"; ?>

cheers

immortalempire Developer · 219 posts #4

this works for me echo " <a href="http://youraddy.co.uk"><img src="logo.gif" alt="Logo"/></a>";

WhiteWarrior Principal · 1,419 posts #5

here, if they dont work, try this print "<a href="http://youraddy.co.uk"><img src="1.gif" alt ="banner"/>

if not remove the print crap and use this echo "<a href="http://yoursite.com"><img src="logo.jpg" alt="Logo"/></a>";

nclemale36 Lead · 537 posts #6

here, if they dont work, try this print "<a href="http://youraddy.co.uk"><img src="1.gif" alt ="banner"/>

if not remove the print crap and use this echo "<a href="http://yoursite.com"><img src="logo.jpg" alt="Logo"/></a>";

nope . none of those work either lol . like i say ave tried all variations myself . am either getting error that says expected a (,) or (External image (may be gone) in line .

or it says a T string error .
must be sumat in the script elsewer thats making it do that .

so i think some other part of the script needs looked at too .

but thanks guys . lol

immortalempire Developer · 219 posts #7

nope . none of those work either lol . like i say ave tried all variations myself . am either getting error that says expected a (,) or (External image (may be gone) in line .

or it says a T string error .
must be sumat in the script elsewer thats making it do that .

so i think some other part of the script needs looked at too .

but thanks guys . lol

well that link i put up works fine for me so dono

nclemale36 Lead · 537 posts #8

well that link i put up works fine for me so dono

yeh that usually works for me too . just annoying me as am getting errors .
gonna recode it and see wot i can do with it.

nclemale36 Lead · 537 posts #9

yeh that usually works for me too . just annoying me as am getting errors .
gonna recode it and see wot i can do with it.

i have re coded this . as i think it was the doc type giving me errors. its all sorted now but i cant get the image thats attached to the link to stay in centre.

why ?? lol

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close