i have table article
1. id_arc int (11) auto increament
2. judul varchar (225)
3. isi text
4. date datetime
--ect
i already create a script to input data and run well
but if i try to input more than 2 paragraf this script doesn't work..
what happen?
i use AJAX, PHP and JQuery..
is it take effect to my script?
bdw i use innodb..
and this is my script
$judul=($_POST['judularticle']);
$id_sub=$_POST['id_subarticle'];
$isi=($_POST['isiarticle']);
$ye=mysqli_query($con,"select * from article_sub where id_subarticle='$id_sub'");
while($b=mysqli_fetch_array($ye)){
$kategori=$b[id_katarticle];
$judul_seo = seo_title($judul);
mysqli_query($con,"insert into article_news(id_katarticle,
id_subarticle,
id_userarticle,
judul,
isi,
counter,
status,
date)
values( '$kategori',
'$id_sub',
'$_SESSION[id_user]',
'$judul',
'$judul_seo',
'$isi',
'0',
'aktif',
'$tgl')
");
}