Jump to content

Parse Error In Hyperlink


HowdeeDoodee
 Share

Recommended Posts

I am getting a parse error in the hyperlink line. Can anyone help? Thank you in advance for any replies.

 

<?php
$ref[0] = "gen 1:12";
$ref[1] = "exo 2:31";
foreach($ref as $value){
<a href="www.find.net/CP/Search/rsearch.php?submit=true&searchtype=All+Words&search=&wholeword=Whole+words+only.&table_display=true&lookup=.$value."\">".$value."</a>
};
?>

Link to comment
Share on other sites

<?php
$ref[0] = "gen 1:12";
$ref[1] = "exo 2:31";
foreach($ref as $value){
echo '<a href="www.find.net/CP/Search/rsearch.php?submit=true&searchtype=All+Words&search=&wholeword=Whole+words+only.&table_display=true&lookup='.$value.'">'.$value.'</a>';
};
?>

Link to comment
Share on other sites

This thread is more than a year old.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.