Hi All,
Ive done a lot of searching on google for a expression engine newsletter creator but cant seem to find any. We had a custom newsletter creator made for us for expression engine years ago but after we transferred to a new web server it stopped working. I dont understand why it would stop, the new server does have the latest SQL and PHP, it seems like its not saving to SQL, maybe the syntax has changed from different versions.
So I was wondering if there is a plugin out there that we can use or if someone can tell me why a script would stop working when moved form one server to another.
If there isn’t any plugin for this then I would like to try and fix what we already have.
I have attached our newsletter form that’s shows our newsletters and our news articles in the last 2 posts since i couldn’t fit it all in.
Here is a delete code that we used to use when the delete button is clicked but doesn’t work anymore:
<?php
$id=$_POST['Id'];
$sql="delete FROM exp_newsletter_title where id=''".$id;
$results=$this->EE->db->query($sql);
$sql="delete FROM exp_newsletter_form where title_id=''".$id;
$results1 = $this->EE->db->query($sql);
return $results1;
?>Thanks.