Guest User

Untitled

a guest
May 29th, 2016
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. /*запись данных в базу*/
  2. $link_test=mysqli_query($bd, "SELECT * FROM `php_dns`.`habra_post`");
  3. if(!$link_test){
  4. $bd-> query("INSERT IGNORE INTO habra_post SET title='$title1', text_body='$text1', reg_date='$date1',
  5. full_text='$full_text', next_date='$date_nextd', link='$html_in'");
  6. if($bd==false)
  7. {
  8. // echo "<br>Oll OK";
  9. // }
  10. // else
  11. // {
  12. echo mysqli_error();
  13. }
  14. }}}
Add Comment
Please, Sign In to add comment