The Code-Bin
Links
Home
Add your code!
All Listings
About
Latest Entry
Featured Scripts
Author's Website
Latest Entries
FFMPEG Thumbnail Scr...
PHP, 0.8KB
Jul. 29, 10:24pm
John
Z80 Assembler, 190 bytes
Feb. 17, 3:36am
John
Z80 Assembler, 176 bytes
Sep. 13, 2:19am
John
Z80 Assembler, 77 bytes
Sep. 13, 2:18am
John
Z80 Assembler, 209 bytes
Sep. 13, 2:17am
untitled PHP Code
Posted by: Ausgabe | December 4, 2008 @ 12:06pm
PHP Code
[
Download
]
<? error_reporting(E_ALL); //Paar HTML sachen machen echo '<center><font color= black><b>### Neuste News ###</b></font></center><br>'; //MySQL Anweisungen $sql = 'SELECT *FROM `News` ORDER BY id DESC'; mysql_connect("localhost","msdfsdfsdfsdfaker","sdfsdfposdfsdflesdfsdfle"); mysql_select_db("mymaker"); $Mysqlresult = mysql_query($sql); while($row = mysql_fetch_array($Mysqlresult)) { echo '<center>' .'<font color= #7B0428>' .'<b>'; //Eigentliche Ausgabe, Rest = HTML echo $row['Titel'].'<br>' .'</font>' .'</b>'; //Ausgabe Inhalt echo $row['Inhalt'] ."</center>" ."<center>" ."<b>".$row['Datum']."</b></center><br>"; } include 'chat.html'; ?>
Syntax Highlighting
[
Open in new window
]
Author Comments
none
Rating
4.65 / 8
175 Votes
http://codebin.yi.org/198
page generated in 0.00 seconds