Open ghost opened 7 years ago
create a script to create or update an article
article_id
author_user_id
user_id
title
body
publish_date
login-form.php
save-article.php
cm_blog-10-tra
create a script to create or update an article
article_id
, INSERT a new articleauthor_user_id
. get theuser_id
from the session.article_id
, UPDATE the article with the newtitle
,body
, andpublish_date
login-form.php
user_id
matches the articleauthor_user_id