Ask us a Question

Simply leave a reply here and we will try and answer any questions you have. If you don’t want everyone to see your question/query, or if you would like a quote, please either visit our contact page here, or email us on this address: enquiries@bakerdesigns.co.uk

2 Responses to Ask us a Question

  1. John says:

    Create hyperlink in PHP from result?

    • Mat says:

      I don’t know exactly what you mean, but try this…

      ***********************************************

      //Connect to DB

      $result=mysql_query(“SELECT * FROM __table__”);
      while($row=mysql_fetch_array($result)){

      //Store your text as a variable

      $text = $row["name"];

      //For every result you get display a link – Double Quotes are very important in echo!!!

      echo “<a href=’view.php?v=$text |OR| $text.php’ title=’$text’>$text</a>”;

      }

      *****************************************************

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>