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

prod api changed

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