Konnor
-
Posts
1 -
Joined
-
Last visited
Never
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.
Images in a Blog
in PHP Coding Help
Posted
Unfortunately it doesnt show you how to add images to a blog post. Presumably you cannot directly store the image in the database, only a link to it.
Ideally I would like a setup where I may or may not have an image for each blog post. What would I put as the field in the table? How could I code it so I sometime have images in my blog post and sometimes don't?
My table currently looks like this..
[img]http://img325.imageshack.us/img325/4480/blogtablepe9.jpg[/img]
And my addpost screen looks like this
[img]http://img325.imageshack.us/img325/2518/addposttl1.jpg[/img]