I'm a newcomer to PHP, and I'm trying to use it to simplify the process of 
creating an HTML help file.
I have two questions: the first is, is there any way to change the newline 
string that the "\n" escape produces? At the moment it is outputting 0x0A, 
while I would prefer it if it would produce 0x0D 0x0A.

My second question is related to the following .php source:

<?php include( myinc.php )
  myfunc(); /* myfunc defined in myinc.php */
?>

<b>Normal HTML stuff goes here</b>

<?php include( myinc.php )
  myfunc();
?>

The problem is that this produces an error message from the second include():
  Fatal error: Cannot redeclare myfunc() in myinc.php on line 2
However, if I remove this second include statement, then the second php script 
doesn't appear to call myfunc(). Can anyone help?

Thanks in advance,

Andrew


---------------------------------------
This message was sent mekong webmail.
https://mekong.southcom.com.au/mailman/



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to