Re: [PHP3] Has anybody set up GoLive or Dreamweaver to handle PHP tags?

[email protected] (Marcus Jansson)
Newsgroups php.general
Organization UNICO Media AB, Sweden
Message-ID <[email protected]>
Just a tip...

When adding PHP-scripts to a file thats later opened in DreamWeaver. If
the end of you PHP-file looks something like this (with an ?> before
ending the body-tag):

  echo "hello php-world!\n";
  ?>
  </body>
</html>

Then DreamWeaver could delete your PHP-script!!!
The solution is to everytime put a P-line before ending the body-tag.
This will prevent DreamWeaver from actually removing your PHP-script!
Something like this:

  echo "hello php-world!\n";
  ?>
  <p>&nbsp;</p>
  </body>
</html>

Has anyone experienced this too?

Regards,
Marcus Jansson

"j.t.montgomery" wrote:
> 
> Hi All,
> 
> I am wondering if anyone has set up Dreamweaver/GoLive to cope with PHP
> tags.  I would like to use either/or to tweek complex tables.  I would want
> both to ignore (and noreformat) stuff between short tags <??>
> 
> Thanks for any time-saving pointers.
> 
> :-)
> John
> Northern College of Education, Aberdeen.
> 
> --
> PHP 3 Mailing List <http://www.php.net/>
> To unsubscribe, send an empty message to [email protected]
> To subscribe to the digest, e-mail: [email protected]
> To search the mailing list archive, go to: http://www.php.net/mailsearch.php3
> To contact the list administrators, e-mail: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.