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

Home » Imported messages » comp.lang.php » testing for source to use
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: testing for source to use [message #181620 is a reply to message #181611] Fri, 24 May 2013 10:50 Go to previous messageGo to previous message
Doug Miller is currently offline  Doug Miller
Messages: 171
Registered: August 2011
Karma:
Senior Member
richard <noreply(at)example(dot)com> wrote in news:1ij92ldq768qa.1x65hwkghfrwa.dlg@
40tude.net:

[...]
> the problem is, no matter what link I select, the url is always MY SITE!
>
[...]

> if ($v1="/"){$yt="http://mroldies.net".$vid[0];}

Same problem you had on your last question: the above is an assignment statement, not a
comparison. The equality comparison operator in php is ==, not =.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: use a value form a manu list in a form on the same page
Next Topic: TEST only
Goto Forum:
  

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

Current Time: Wed Nov 27 22:57:26 GMT 2024

Total time taken to generate the page: 0.04332 seconds