<?php include 'config.php'; mysql_connect(localhost,$username,$password); @mysql_select_db($database) or die( "Unable to select database"); $query="SELECT * FROM questions"; $result=mysql_query($query); $num=mysql_numrows($result); mysql_close(); echo "<center>Database Output</center><br><br>"; $i=0; while ($i < $num) { $name=mysql_result($result,$i,"Kiya_text"); $name = preg_replace("/%u([0-9a-f]{3,4})/i","\\1;",urldecode($name)); echo "$name<br>$quote<br>$bio<br><hr><br>"; $i++; } ?>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)