Posted By

conspirator on 04/14/10


Tagged

textmate mysqlinsert


Versions (?)

mysql insert


 / Published in: Other
 

  1. $sql = "INSERT INTO table (id, date_created, field, field) VALUES ('',";
  2. $sql .= "'".date('Ymd H:i:s')."',";
  3. $sql .= "'{$field}',";
  4. $sql .= "'{$field}'";
  5. $sql .= ")";
  6. $result = mysql_query($sql, $link);

Report this snippet  

You need to login to post a comment.