<?php
$text = mysql_query("SELECT `Text` FROM `Banner` WHERE `ID`='1'");
$user = mysql_query("SELECT `User` FROM `Banner` WHERE `ID`='1'");
echo $text . " -" . $user; ?>
这是一个公告框。
我要进行更新mysql_query
调用以更新它。
数据库设置为:
ID - 1
Text - Welcome to PeopleHub! User - Thomas Doyle