Skip to content
Snippets Groups Projects
Commit 483c92a3 authored by bx khateri's avatar bx khateri
Browse files

prod api changed

parent 1aae2f46
No related branches found
No related tags found
No related merge requests found
......@@ -62,7 +62,6 @@ if ((isset($post_title) && $post_title != null) && (isset($post_body) && $post_b
$user_id = $obj->getUserIdByEmail($obj, $_SESSION['logged_user']);
$query = "INSERT INTO posts VALUE (null,'$post_title','$post_body', '$post_url_image',CURRENT_TIMESTAMP, '$user_id', 1);";
echo $query;
$result = $obj->executeQuery($query);
// refresh session time
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment