Reputation:
I am in need of a live editing software for PHP
like there is DreamVeawer
for CSS
. I need the functionality that I can select items from the webpage and it will highlight the particular source code for it. If anyone knows about such a software please let me know.
Thanks in advance.
Upvotes: 0
Views: 3096
Reputation: 16720
This isn't exactly what you want but this IDE can give a help
Aptana http://www.aptana.com/ or PHPStorm http://www.jetbrains.com/phpstorm/
Upvotes: 1
Reputation: 60413
Im not sure what youre looking for exactly. If you want a WYSIWYG html editor they are plenty.
If youre tring to trace function and method calls in code then you need an IDE with code assist. Both Eclipse and Netbeans with their respective PHP plugins have this - i.e. you click on a function call and it opens the file containing that function. Depending on the context this can also work with variables...
I think there are also WYSIWYG html plugins for both but im not sure as i dont use them.
Upvotes: 1
Reputation: 6431
I'm afraid you won't find a solution for that.
PHP runs on the server-side and doesn't render any code to the browser like HTML does.
The closest you'll come is selecting DOM elements in Firebug/Dreamweaver(or any other designy IDE) rendered after the PHP is parsed
Upvotes: 1
Reputation: 162
Firefox has a nifty add-on called Web Developer. You can't edit the PHP code directly because it's server side but you can highlight/edit the resulting HTML. You can find it here https://addons.mozilla.org/en-US/firefox/addon/web-developer/
Upvotes: 1
Reputation: 18285
Use google chrome's webkit inspector, it will find you the right html source code, which you can then trace back to the PHP code.
Upvotes: 1