I think its like accross the top...
Habbo Name, Song Request, Shoutout/Joke, ID
I think its like accross the top...
Habbo Name, Song Request, Shoutout/Joke, ID
Cheap Webhosting At ONE TIME fees! Also offering Scripts, Software, Web Designs, and Graphic Designs. Outstanding Designs and Webhosting!
Well how about you find out?
Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!
Yeah its....
Habbo Name, Song Request, Shoutout/Joke, ID
(I found out...)
Cheap Webhosting At ONE TIME fees! Also offering Scripts, Software, Web Designs, and Graphic Designs. Outstanding Designs and Webhosting!
-sighs-
Cheap Webhosting At ONE TIME fees! Also offering Scripts, Software, Web Designs, and Graphic Designs. Outstanding Designs and Webhosting!
hmmmmmmmmmmmmmmmmmmmmmmm...
Cheap Webhosting At ONE TIME fees! Also offering Scripts, Software, Web Designs, and Graphic Designs. Outstanding Designs and Webhosting!
Joe, have u tried the latest script posted by Twey?
anywayz, i did and it worked on my local web server
<EDIT>
why is there an additional table header before the ID, Habbo Name, Song Request, ShoutOut/Joke?HTML Code:<table border=1><tr><th>0</th><th>ID</th><th>1</th><th>Habbo Name</th><th>2</th><th>Song Request</th><th>3</th><th>ShoutOut/Joke</th><th>del</th></tr><tr> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> </tr></table>and extra table data after the execution of the request.php
Last edited by jr_yeo; 07-12-2006 at 05:51 PM.
Ok... I am reallly confused.
This is EXACCLY whats in the requests.php file:
Code:<?php $conn = mysql_connect('localhost', 'smiletest', 'jjaadd'); mysql_select_db('smiletest'); $tablename = 'request'; $uniquerow = 'ID'; if(isset($_GET['delete'])) if(!is_numeric($_GET['delete'])) die(); else mysql_query('delete from `' . $tablename . '` where ' . $uniquerow . '=\'' . $_GET['delete'] . '\';'); $rs = mysql_query('select * from `' . $tablename . '`;'); $row = mysql_fetch_array($rs); $cols = array(); foreach($row as $k => $v) array_push($cols, $k); array_push($cols, 'del'); echo('<table><tr>'); for($i = 0; $i < count($cols); ++$i) echo('<th>' . $cols[$i] . '</th>'); echo('</tr>'); do { $row['del'] = '<form action="?delete=' . $row[$uniquerow] . '" method="get"><input type="submit" value="Delete"></form>'; echo('<tr>'); for($i = 0; $i < count($cols); ++$i) { ?> <td><?php echo($row[$i]); ?></td> <?php } echo('</tr>'); } while($row = mysql_fetch_array($rs)); echo('</table>'); ?>
And what was the thingy you posted?????? Huh?:
Where is that supposed to go? :| God i'm confused...Code:<table border=1><tr><th>0</th><th>ID</th><th>1</th><th>Habbo Name</th><th>2</th><th>Song Request</th><th>3</th><th>ShoutOut/Joke</th><th>del</th></tr><tr> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> </tr></table>
Cheap Webhosting At ONE TIME fees! Also offering Scripts, Software, Web Designs, and Graphic Designs. Outstanding Designs and Webhosting!
the output of the request.php if u run the script
Originally Posted by jr_yeo
Last edited by jr_yeo; 07-13-2006 at 10:57 AM.
Omg i am REALLY CONFUSED!
Cheap Webhosting At ONE TIME fees! Also offering Scripts, Software, Web Designs, and Graphic Designs. Outstanding Designs and Webhosting!
questionhave u tried running the request.php?
![]()
Bookmarks