Direktori : /proc/self/root/proc/self/root/home/rizant5/public_html-1210/development/ |
Current File : //proc/self/root/proc/self/root/home/rizant5/public_html-1210/development/subscribe-ajax.php |
<?php require_once('config.php'); $data=$conn->prepare("select * from newsletter where slet_email='".$_POST['emailsubs']."'"); $data->execute();$nums=$data->rowcount(); if($nums==0){ $conn->exec("insert into newsletter(slet_email,slet_date) values ('".$_POST['emailsubs']."',now())"); } echo $nums; ?>