/ Published in: PHP
just doodled this down, and haven't tried it yet to see what errors it generates once it's done.
Expand |
Embed | Plain Text
<?php class dbControls { var $title = ''; var $content = ''; var $date = ''; function insertArticle() { $this->title = $_POST['title']; $this->content = $_POST['content']; } } ?>
You need to login to post a comment.
