[Proto-Scripty] Re: php in files

2009-06-25 Thread Robaj
-Scripty] Re: php in files Ok, let me put my idea to you and see if there is a way without reloading the whole page - I use prototype.js and project.js. project.js is just my entensions for each project, which I have narrowed down to two functions,  -            function myRequest( text

[Proto-Scripty] Re: php in files

2009-06-25 Thread Richard Quadling
with html or whatever your php code spits out! HTH Alex - Original Message - From: Robaj robrass...@gmail.com To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com Sent: Wednesday, June 24, 2009 7:44 AM Subject: [Proto-Scripty] Re: php

[Proto-Scripty] Re: php in files

2009-06-25 Thread Alex McAuley
, 2009 2:07 PM Subject: [Proto-Scripty] Re: php in files Ok I got the gist of it, you can't do what I wanted to do, interact with php through ajax after the page has loaded. Yes I know it can get strings and data from the server side code, but only if that content is html. eval doesn't work

[Proto-Scripty] Re: php in files

2009-06-25 Thread Alex McAuley
correct at what it is you want) Alex - Original Message - From: Alex McAuley webmas...@thecarmarketplace.com To: prototype-scriptaculous@googlegroups.com Sent: Thursday, June 25, 2009 2:35 PM Subject: [Proto-Scripty] Re: php in files eval ( in PHP ) evaluates any code you pass

[Proto-Scripty] Re: php in files

2009-06-25 Thread Richard Quadling
2009/6/25 Alex McAuley webmas...@thecarmarketplace.com eval ( in PHP ) evaluates any code you pass into it as a variable or string I am now very confused into the question you are asking Me too. -- - Richard Quadling Zend Certified Engineer :

[Proto-Scripty] Re: php in files

2009-06-24 Thread Robaj
Ok, let me put my idea to you and see if there is a way without reloading the whole page - I use prototype.js and project.js. project.js is just my entensions for each project, which I have narrowed down to two functions, - function myRequest( text ) { new

[Proto-Scripty] Re: php in files

2009-06-24 Thread Alex McAuley
will be left with html or whatever your php code spits out! HTH Alex - Original Message - From: Robaj robrass...@gmail.com To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com Sent: Wednesday, June 24, 2009 7:44 AM Subject: [Proto-Scripty] Re: php in files Ok, let me

[Proto-Scripty] Re: php in files

2009-06-24 Thread Richard Quadling
, 2009 7:44 AM Subject: [Proto-Scripty] Re: php in files Ok, let me put my idea to you and see if there is a way without reloading the whole page - I use prototype.js and project.js. project.js is just my entensions for each project, which I have narrowed down to two functions

[Proto-Scripty] Re: php in files

2009-06-23 Thread Alex McAuley
If you are opening the file with fread instead of using include() then it wont parse properly ... from an ajax response anything echoed back from a php script will just return html/text/json/xml/javascript/css etc etc back to the responseText Could you give an example fo your code and the php

[Proto-Scripty] Re: php in files

2009-06-23 Thread Richard Quadling
2009/6/23 Robaj robrass...@gmail.com: I know this isn't strictly speaking a Prototype issue, but this is the only group I am in and a few topics do skirt around the edges of your main topic. If I have a file - home.php ?php echo h1A very interesting home page/h1; ? Then the file is