$title = $_POST[‘title’]; $content = $_POST[‘content’]; if(!get_magic _quotes_gpc()) { $title = addslashes($title); $content = addslashes($content); } include ‘library/config.php’; include ‘library/opendb.php’; $query = ” INSERT INTO news (title, content) “. ” VALUES (‘$title’, ‘$content’)”; mysql_query($query) or die(‘Error ,query failed’); include ‘library/closedb.php’; echo “Article ‘$title’ added”; }
Archive for September, 2009
Unordered List list item 1 list item 2 list item 3 Ordered List list item 1 list item 2 list item 3
Testign short blockquote Lorem Ipsum has been the industry’s standard dummy text ever. Testing long blockquote: It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing […]
But I must explain to you how all this mistaken idea of denouncing pleasure and praising pain was born and I will give you a complete account of the system, and expound the actual teachings of the great explorer of the truth, the master-builder of human happiness. No one rejects, dislikes, or avoids pleasure itself, […]
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, […]
On the other hand, we denounce with righteous indignation and dislike men who are so beguiled and demoralized by the charms of pleasure of the moment, so blinded by desire, that they cannot foresee the pain and trouble that are bound to ensue; and equal blame belongs to those who fail in their duty through […]