Cant See For Looking

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Cant See For Looking

    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 &#39;<?xml version="1.0"?>&#39;;
    print &#39;<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">&#39;.
    &#39;<wml>
    <head><meta http-equiv="Cache-Control" content="no-cache" forua="true"/></head>&#39;;
    echo "<card id=\"banner\" title=\"banner\"><p align=\"center\">";
    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\"/>



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


    cheers
    Wapchat4u


    Topsites4u

    #2
    echo &#39;[img]logo.gif[/img]&#39;;

    Comment


      #3
      echo &#39;[img]logo.gif[/img]&#39;;[/b]

      still dont work .
      Wapchat4u


      Topsites4u

      Comment


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

        Comment


          #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>";

          Comment


            #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>";[/b]

            nope . none of those work either lol . like i say ave tried all variations myself . am either getting error that says expected a (,) or ( 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
            Wapchat4u


            Topsites4u

            Comment


              #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 ( 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[/b]


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

              Comment


                #8
                well that link i put up works fine for me so dono[/b]

                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.
                Wapchat4u


                Topsites4u

                Comment


                  #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.[/b]

                  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
                  Wapchat4u


                  Topsites4u

                  Comment


                    #10
                    did u try yoursite/logo.gif or sumin should work
                    Want something coded email me at sales@webnwaphost.com for a prices.




                    Comment


                      #11
                      did u try yoursite/logo.gif or sumin should work[/b]

                      topic closed. its sorted .
                      Wapchat4u


                      Topsites4u

                      Comment

                      Working...
                      X