閲覧者がページに賛成票または反対票を投じることができる、単純な非 MySQL PHP スクリプトが必要です。MySQL データベース駆動型でなければならない場合は、そうあるべきです。理想的には、そうではありません。
基本的に、このページのソースを Web ブラウザーで表示すると、次のようになります。
<h2>Stack Overflow Is Cool</h2>
<span id="author-info-etc">Written by Ben Dover on 01-01-2012 (+12) | (-3) Total Rank: +9</span>
<p>Once upon a time there was this really cool website called Stack Overflow where amazing people would help answer questions asked by people who destroyed their keyboards by throwing them against their computer screen in an act of utter frustration and despair.</p>
ソースファイルは次のようになります。
<span id="author-info-etc">Written by <?php echo $authorname; ?> on <?php echo $pubDate; ?> <?php include ('pagevotescript.php'); ?></span>
誰かがこの PHP スクリプトの作成を手伝ってくれませんか?