------ art_41664_18061452.1170576519355 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline On 2/4/07, Ryan Williams <mr.cruft / gmail.com> wrote: > > On 2/3/07, Hanan Mneimneh <hanan_mneimneh / hotmail.com> 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? Instant Rails includes PHP because PHP is needed to run MyPhpAdmin. You could use IR to write standalone PHP apps, but Ryan is correct that PHP is not supported with in Rails/rhtml. Curt ------ art_41664_18061452.1170576519355--