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
Re: simple url problem [message #183044 is a reply to message #183043] Sat, 05 October 2013 03:28 Go to previous messageGo to previous message
Mr Oldies is currently offline  Mr Oldies
Messages: 241
Registered: October 2013
Karma:
Senior Member
Stupid me again.
forgot the ; at the end of the line above the error.



On Fri, 4 Oct 2013 23:20:29 -0400, richard wrote:

> 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:20:06 GMT 2024

Total time taken to generate the page: 0.05377 seconds