Php > HTML and Php
Using select multiple with php3
Using select multiple with php3 function DisplayThreads() { $result=mysql_query("select min(datestamp),topic,thread from forum group by thread order by topic") or die ("Can't Preform query 1"); echo"
\n"; while( $row = mysql_fetch_object($result)) echo"
thread\">$row->topic($row->thread)\n"; echo"
\n"; } Function SetHeader() { echo"
WebThreads powered by PHP3
"; } switch($command) { case 1 : SetHeader(); echo "
"; echo"
Choose a thread to delete
"; DisplayThreads(); echo "
"; break; case 2 : SetHeader(); $ThreadNum=count($threads); for($i=0 ; $i < $ThreadNum ; $i++) echo"Deleting thread number $threads[$i]
\n"; } ?>
Php Codes
Algorithms
Arrays
Authentication
Calendar
Code Snippets
Programs
Content Manage
Contest Related
Cookies
Credit Cards
DBase Related
Databases
Date Time
Directories
E-Mail
Errors
File
File System
Forms
Handling
Graphics
HTML and PHP
Informix
Ingres
InterBase
LDAP
Look and Feel
Miscellaneous
MySQL
Other
PHP Classes
Searching
Navigation
Statistics
Strings
User Manage