[PHP] using image place holders in a database field?

2001-07-10 Thread Matthew Delmarter
Hi all, I want to use image place holders in a mysql field. The field will store a newsletter article and I want to include and display an image in the article. For example I will have: the article text ##image_name## some more article text. I will use str_replace to replace ##image_name##

[PHP] using image place holders in a database field?

2001-07-10 Thread Matthew Delmarter
Hi all, I want to use image place holders in a mysql field. The field will store a newsletter article and I want to include and display an image in the article. For example I will have: the article text ##image_name## some more article text. I will use str_replace to replace ##image_name##

Re: [PHP] using image place holders in a database field?

2001-07-10 Thread Philip Murray
] - - -- - - - Original Message - From: Matthew Delmarter [EMAIL PROTECTED] To: PHP Mailing List [EMAIL PROTECTED] Sent: Wednesday, July 11, 2001 3:47 PM Subject: [PHP] using image place holders in a database field? Hi all, I want to use image place holders in a mysql field. The field

Re: [PHP] using image place holders in a database field?

2001-07-10 Thread Philip Murray
Murray [EMAIL PROTECTED] - - -- - - - Original Message - From: Matthew Delmarter [EMAIL PROTECTED] To: PHP Mailing List [EMAIL PROTECTED] Sent: Wednesday, July 11, 2001 3:47 PM Subject: [PHP] using image place holders in a database field? Hi all, I want to use

Re: [PHP] using image place holders in a database field?

2001-07-10 Thread Brian White
I am going to take this sideways and push my own agenda. :-) In your position, I would consider storing the newsletter text as blobs of XML. Keep it dead simple to start with: !ELEMENT blob (p+) !ELEMENT p (#PCDATA|img) !ELEMENT img (#PCDATA) which would make your article text: