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##
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##
]
- - -- - -
- 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
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
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:
5 matches
Mail list logo