FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » simple url problem
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
simple url problem [message #183043] Sat, 05 October 2013 03:20 Go to previous message
Mr Oldies is currently offline  Mr Oldies
Messages: 241
Registered: October 2013
Karma:
Senior Member
I am trying to mimmick the tenplate shown.
But I get a parse error where I have $myurl.

I believe it is becaause of the dot.
How do I work around this?


<!-- single playlist entry as an "template" -->
<a class="item" href="http://mroldies.net/videos/1960/summerplace.flv">
A Summer Place - Movie Theme <span>Percy Fiath Orchestra</span>
<em>1960 # 1</em>
</a>

<?php

$aid=1;

while ($aid<21)
{
echo "< a class='item'"

$myurl='href="http://mroldies.net/videos/"';
echo $myurl;

echo "\n";
echo $playme[$aid][0];
echo "<span>";
echo $playme[$aid][1];
echo "</span>\n";
echo "<em>>$playme[$aid][2]</em>\n";

echo "</a";

$aid++;
}


?>
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Why do I get a download link?
Next Topic: A general note on invalid.com and others like it
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Nov 24 19:38:26 GMT 2024

Total time taken to generate the page: 0.04945 seconds