Jump to content

[SOLVED] Edit blog posts


Lambneck

Recommended Posts

well you have to update that database table cell with sql. somethin like

UPDATE tablename SET blogentry = 'youreditedblogentry' where blogentry = '345'

 

'345' would be the blog entry id number that it has in the database.

 

I think I understand but what is: blogentry = 'youreditedblogentry' ?

 

 

blogentry would be the name of the column that holds all your entries...not sure what it could be called...your medium blob data type's name. and then set it equal to whatever your updated blog is...for example

 

First blog...

My dog at my homework yesterday.

 

Updated blog...

My dog at my homework a week ago.

 

So say if your column that holds the blog entries is called 'entries' it would be something like

UPDATE tablename SET entries = 'My dog at my homework a week ago.' where blogentry = '345'

 

and 'tablename' would obviously be whatever your database table is called

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

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.