Add new comment

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Submitted by Wildeh (registered user) on Thu, 2008-04-24 12:19.

Good howto! However, the syntax of the echo command seems to be a bit incorrect. When to use quotation marks and when single quotes? The example didn't work for me until I changed this:
echo "<p><a href="$href">$title</a><br>";
to the following:
echo '<p><a href="$href">';echo "$title";echo '</a><br>';

Please do not use the comment function to ask for help! If you need help, please use our forum.
Comments will be published after administrator approval.

Reply

*
*
The content of this field is kept private and will not be shown publicly.


*

  • Images can be added to this post.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <img> <div>
  • Lines and paragraphs break automatically.