x10Hosting Forums

Corporate Free Hosting for the Masses.



Register

Reply
 
LinkBack Thread Tools Display Modes
x10Hosting Member

Join Date: Sep 2008
Posts: 66
Credits: 727
exemption is on a distinguished road
Quote  
09-28-2008, 07:22 PM
Re: need someone to do me a mySQL table, for credits :D

PHP Code:
 <?php 
echo "<table>"
echo 
"<tr>"
echo 
"<th>Band</th><th>Song</th><th>etc...</th><th>Request</th>"

$sql "SELECT * FROM Songs"
$result mysql_query($sql); 
while(
$row mysql_fetch_array($result){ 
echo 
"<tr>"
echo 
"<td>" $row['bandName'] . "</td>"
echo 
"<td>" $row['songName'] . "</td>"
echo 
"<td>etc</td>"
echo 
"<td><a href=\"request.php?songID=" $row['songID'] . "\">Request</a>"

?>
Not bad...creates a table using sql injections..
Need to create a table..simple enough to do..
Make sure you have an insert table..to insert songs into your table..
SQL tables are easy to make

W3Schools
Live it, Learn It, Code it
__________________


I program PHP..so if you need help lemme know!

Reply With Quote
exemption is offlineReport Post
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Im Getting A Mysql Error And I Challenge Anyone To Help Me Fix It dquigley Programming Help 14 09-29-2008 08:07 PM
New Site-Suggestions? mnoutside Review My Site 9 08-27-2008 08:01 AM
[PHP] MySQL and PHP Bryon Tutorials 23 08-17-2008 03:15 AM
MysQL Query for Master table & child table phpasks Programming Help 8 08-07-2008 09:07 AM
Table inside table wizeman Tutorials 4 07-11-2005 06:56 PM


All times are GMT -5. The time now is 06:17 PM. Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0 RC7
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios

Advertising | Debt Consolidation | Per Insurance | Auto Loans | Charity Gifts