mirror of
https://git.code.sf.net/p/quake/website
synced 2024-11-27 22:42:57 +00:00
fix query errors and other bloopers
This commit is contained in:
parent
dd98fab354
commit
2771109447
1 changed files with 3 additions and 3 deletions
|
@ -13,8 +13,8 @@
|
|||
|
||||
$conn = mysql_connect (sqlHost, sqlUser, sqlPass);
|
||||
if ($conn) {
|
||||
$query = 'UPDATE devel_plans (p_date, p_plan) VALUES (' .
|
||||
" NOW(), '$planItem')";
|
||||
$query = 'UPDATE devel_plans SET p_date = NOW() AND p_plan = ' .
|
||||
"'$planItem' WHERE p_user = '$user')";
|
||||
$result = mysql_db_query (sqlDB, $query, $conn);
|
||||
if ($result) {
|
||||
$numRows = mysql_affected_rows ($conn);
|
||||
|
@ -38,7 +38,7 @@
|
|||
' <DD> ';
|
||||
?>
|
||||
<FORM action="plan.php" method="post">
|
||||
<TEXTAREA name="newsItem" rows="25" cols="64"></TEXTAREA><BR>
|
||||
<TEXTAREA name="planItem" rows="25" cols="64"></TEXTAREA><BR>
|
||||
<INPUT align="center" type="submit" value="Post"></INPUT>
|
||||
</FORM>
|
||||
<? ' . </DD>' .
|
||||
|
|
Loading…
Reference in a new issue