Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
u2_progc [2011-01-21 10:47] Joakim Forsgren |
u2_progc [2011-01-21 11:11] Joakim Forsgren |
||
---|---|---|---|
Line 35: | Line 35: | ||
<code php> | <code php> | ||
- | // forumController | + | // lite kod från forumController |
if($_POST[' | if($_POST[' | ||
if (!$_POST[' | if (!$_POST[' | ||
Line 55: | Line 55: | ||
} | } | ||
- | // forum.php (model_forum) | + | // lite kod från forum.php (model_forum) |
+ | public function InsertItem ($data) { | ||
+ | $this-> | ||
+ | return $this-> | ||
+ | } | ||
public function DeleteThread ($threadid) { | public function DeleteThread ($threadid) { | ||
$query = " | $query = " | ||
- | WHERE ThreadID = '" | + | WHERE ThreadID = '" |
+ | | ||
OR " . service_session:: | OR " . service_session:: | ||
return $this-> | return $this-> |