How do I edit info in a php file?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello I have a php file (template), the only thing I see are codes, Ho do I
change to a design view so I can edit the info? Thank you
 
Alex said:
Hello I have a php file (template), the only thing I see are codes, Ho do
I
change to a design view so I can edit the info? Thank you

as far as i know.. you can't. The HTML part of the script is in the actual
PHP tags, so it won't show in a design view.

However, if some of it actually is HTML, here is what I have done.

Copy all the code, open a new page in FP, and paste it into the code.
SOmetimes this allows you to see some HTML. Then simply copy your changes
back.

There are some 3rd party programs that breaks up PHP code, and can display
it.(i think)

Jeff
 
You may not be able to see anything in design view to edit, depending on the
PHP that is on the page. There is such a thing as a "process" page, on
which there is no presentational markup at all. In addition, there is such
a thing as a page that determines which markup to write "on the fly" - and
again, such pages would not have any presentational markup to edit in Design
view. Can you paste the code from the page into a reply here so we can see
what you are working with?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Viewing a .php page in design and preview mode 3
Which PHP IDE do you use? 4
HTML & PHP 3
Can php files be safely edited by FP ??? 2
php 4
Using dwt's in .Php files 3
.PHP Files 3
php files 1

Back
Top