From: 7stud -- Date: 2009-07-28T08:09:01+09:00 Subject: Re: Display content depanding on url Michael Warnick wrote: > On Jun 27, 1:54�pm, Henry Tudor wrote: >> content two >> >> I know how to do this in php but the template that I am using is written >> in ruby. >> >> Please could someone help. >> -- >> Posted viahttp://www.ruby-forum.com/. > > So, how do you do this in PHP? I am trying to do this in php. if ($url== "http://whatever.co.uk/package?chosen=something") { echo "
hello
"; } elseif ($url== "http://whatever.co.uk/package?chosen=something") } echo "
goodbye
"; } -- Posted via http://www.ruby-forum.com/.