Insert new row to mysql


/ Published in: PHP
Save to your folder(s)



Copy this code and paste it in your HTML
  1. <?php
  2.  
  3. $query = " INSERT INTO `table` ( `id` , `title`)
  4. VALUES (NULL , '$title');";
  5.  
  6. mysql_query($query); ?>

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.