Re: [PHP] How to insert a variable into a PHP template.

2003-07-07 Thread Andrew McCombe
- Original Message - From: Steve Jackson [EMAIL PROTECTED] To: PHP General [EMAIL PROTECTED] Sent: Monday, July 07, 2003 1:34 PM Subject: [PHP] How to insert a variable into a PHP template. Hi, I want to write a PHP template with a variable number of the last recordset in a MySQL

RE: [PHP] How to insert a variable into a PHP template.

2003-07-07 Thread Steve Jackson
mysql_insert_id(); How would I call that in my query? Because I tried that and I get resource ID=2 Also putting it into a string and writing it to a file, sounds good to me, that's what I was thinking but how do you do it? Can it just be written as: $string =all my code including ;''=}{[]