Re: [PHP] php variable

2003-10-13 Thread Onno Kuipers
Jay Blanchard wrote: [snip] $var=¨How are you¨; THE PROBLEM IS THAT I ALSO WANT TO USE $VAR IN SCRIPTTWO. [/snip] Pleace $var in a hidden form element. I tried... something like this ¨> but it doesn't work. Maybe you mean something totaly different, can you show me what you mean. -- PHP General

[PHP] php variable

2003-10-13 Thread Onno Kuipers
Hello, If i set a variabele in lets say 'script one'. When i jump into 'script two', is there a way (without cookies) to read the variable set in 'script one' Like: SCRIPTONE.PHP: $var=¨How are you¨; ?> name: SCRIPTTWO.PHP: THE PROBLEM IS THAT I ALSO WANT TO USE

Re: [PHP] mail() php in message

2003-10-13 Thread Onno Kuipers
Manuel Lemos wrote: Hello, On 10/13/2003 05:02 AM, Onno Kuipers wrote: My server runs PHP and Mysql. Normaly I can put some php in my .php-files wich will create a html file for the clients. (you all know this of course). My question now is: How can I put that html (created with PHP) in the

Re: [PHP] mail() php in message

2003-10-13 Thread Onno Kuipers
Manuel Lemos wrote: Hello, On 10/13/2003 05:02 AM, Onno Kuipers wrote: My server runs PHP and Mysql. Normaly I can put some php in my .php-files wich will create a html file for the clients. (you all know this of course). My question now is: How can I put that html (created with PHP) in the

Re: [PHP] mail() php in message

2003-10-13 Thread Onno Kuipers
Chris Hayes wrote: message of the mail. I know how the to put html in the message: $message = ' in stead of print " $gebruikerbooks "; do $message .= " $gebruikerbooks "; A little clarification: * Just instead of echoing it directly to the browser, add it to your variable $message. * "$

Re: [PHP] mail() php in message

2003-10-12 Thread Onno Kuipers
Matthias Wulkow wrote: Hallo Onno, am Sonntag, 12. Oktober 2003 um 20:07 hast Du Folgendes gekritzelt: OK> Hi, OK> is there a way to create a mail (with the mail() function) that contains OK> php in the message. OK> Like: OK> $to = "[EMAIL PROTECTED]"; OK> $subject = "a subject"; OK> $mes

[PHP] mail() php in message

2003-10-12 Thread Onno Kuipers
Hi, is there a way to create a mail (with the mail() function) that contains php in the message. Like: I WANT TO PUT SOME PHP IN HERE TO CREATE A TABLE IN THE MESSAGE: $columnbooks = mysql_list_fields($dbname,tmp,$mysql_link); $sqlbooks = "select isbn,books.title, writer, publisher from tmp,