From: Ryan Williams Date: 2007-02-04T15:58:45+09:00 Subject: Re: PHP in instant rails ------=_Part_30107_18846773.1170572321323 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline On 2/3/07, Hanan Mneimneh wrote: > > Hello > > I'm trying to use php in rhtml(views) of Instant rails, but it is not > working although javascript works You cannot use php in an rhtml file, only ERb. It's just the way Rails works. I'm not aware of any way to use php from within a Rails application, though you might be able to dig up such a project. You probably find better support from the Rails mailing list. http://lists.rubyonrails.org/mailman/listinfo/rails and instant rails supports PHP. Why? > > Thanks in advance > Hana > > _________________________________________________________________ > Express yourself instantly with MSN Messenger! Download today it's FREE! > http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ > > > ------=_Part_30107_18846773.1170572321323--