Jump to content

[SOLVED] Echo not being run


Ell20

Recommended Posts

Hey,

 

I am attempting to create a link which when clicked deletes that particular news item.

 

if ($_GET['news_id']){
mysql_query("DELETE FROM news WHERE news_id='$newsid'") or die(mysql_error());
echo '<center><h3>Message Deleted!</h3></center>';
}

 

It is successfully deleting the record from the display and the database but the message is not being printed on the screen?

 

Cheers

Link to comment
https://forums.phpfreaks.com/topic/74586-solved-echo-not-being-run/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.