The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
a little code help please
What would I need to do here to only print the ip's that the first 5 numbers in the ip are the same?
Code:
<?php require "./con.php"; include "./header.inc"; $result = mysql_query("SELECT * FROM employees",$db); while ($myrow = mysql_fetch_array($result)) { echo "<table border=1>"; printf("<tr><td width=300><a href=\"%s?id=%s\">%s</a></td> \n", "index.php", $myrow["id"], $myrow["ip"]); printf("<td width=45><a href=\"%s?id=%s&delete=yes\">(DELETE)</td></tr></a>", $PHP_SELF, $myrow["id"]); echo "</table>"; } include "./footer.inc"; ?> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|