ok i want to do something like view.php?s_id=1 i thught this is how you do it, but i guess not, when i view it, i get no data on the page, can you help me out. this is the code.
<?php require_once('Connections/conn.php'); ?>
<?php
mysql_select_db($database_conn, $conn);
$query_scripts = "SELECT * FROM scripts WHERE s_id = '$s_id'";
$scripts = mysql_query($query_scripts, $conn) or die(mysql_error());
?>
<HTML>
<HEAD>
<TITLE>bluntedbynature.dot.com</TITLE>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<link href="styles.css" rel="stylesheet" type="text/css">
</HEAD>
<BODY BGCOLOR=D2D2D2 LEFTMARGIN=0 TOPMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0>
<TABLE WIDTH=760 BORDER=0 align="center" CELLPADDING=0 CELLSPACING=0>
<TR>
<TD COLSPAN=3>
<IMG SRC="images/index_01.jpg" WIDTH=85 HEIGHT=84 ALT=""></TD>
<TD COLSPAN=2>
<IMG SRC="images/index_02.jpg" WIDTH=60 HEIGHT=84 ALT=""></TD>
<TD COLSPAN=2>
<IMG SRC="images/index_03.jpg" WIDTH=73 HEIGHT=84 ALT=""></TD>
<TD COLSPAN=2>
<IMG SRC="images/index_04.jpg" WIDTH=63 HEIGHT=84 ALT=""></TD>
<TD COLSPAN=2>
<IMG SRC="images/index_05.jpg" WIDTH=79 HEIGHT=84 ALT=""></TD>
<TD>
<IMG SRC="images/index_06.jpg" WIDTH=46 HEIGHT=84 ALT=""></TD>
<TD ROWSPAN=2>
<IMG SRC="images/index_07.jpg" WIDTH=94 HEIGHT=99 ALT=""></TD>
<TD ROWSPAN=2>
<IMG SRC="images/index_08.jpg" WIDTH=147 HEIGHT=99 ALT=""></TD>
<TD COLSPAN=2 ROWSPAN=2>
<IMG SRC="images/index_09.jpg" WIDTH=113 HEIGHT=99 ALT=""></TD>
</TR>
<TR>
<TD>
<IMG SRC="images/index_10.jpg" WIDTH=27 HEIGHT=15 ALT=""></TD>
<TD> <a href="/index.php"><IMG SRC="images/index_11.jpg" ALT="" WIDTH=36 HEIGHT=15 border="0"></a></TD>
<TD>
<IMG SRC="images/index_12.jpg" WIDTH=22 HEIGHT=15 ALT=""></TD>
<TD> <a href="/scripts.php"><IMG SRC="images/index_13.jpg" ALT="" WIDTH=39 HEIGHT=15 border="0"></a></TD>
<TD>
<IMG SRC="images/index_14.jpg" WIDTH=21 HEIGHT=15 ALT=""></TD>
<TD> <a href="/tutorials.php"><IMG SRC="images/index_15.jpg" ALT="" WIDTH=49 HEIGHT=15 border="0"></a></TD>
<TD>
<IMG SRC="images/index_16.jpg" WIDTH=24 HEIGHT=15 ALT=""></TD>
<TD> <a href="/gallery/index.php"><IMG SRC="images/index_17.jpg" ALT="" WIDTH=40 HEIGHT=15 border="0"></a></TD>
<TD>
<IMG SRC="images/index_18.jpg" WIDTH=23 HEIGHT=15 ALT=""></TD>
<TD> <a href="/about.php"><IMG SRC="images/index_19.jpg" ALT="" WIDTH=58 HEIGHT=15 border="0"></a></TD>
<TD>
<IMG SRC="images/index_20.jpg" WIDTH=21 HEIGHT=15 ALT=""></TD>
<TD> <a href="/contact.php"><IMG SRC="images/index_21.jpg" ALT="" WIDTH=46 HEIGHT=15 border="0"></a></TD>
</TR>
<TR>
<TD background="images/index_22.jpg"> </TD>
<TD COLSPAN=14 valign="top" background="images/index_23.jpg"> <table width="100%" border="0" cellspacing="0" cellpadding="2">
<tr>
<td valign="top"> <br> <table width="95%" border="0" align="center" cellpadding="3" cellspacing="0">
<tr>
<td class="tabletitle">Scripts</td>
</tr>
<tr>
<td valign="top" class="sidetable"><table width="99%" border="0" cellpadding="2" cellspacing="0" class="text">
<tr>
<td width="88%"><?php echo $s_name; ?></td>
<td width="12%">id#<?php echo $s_id; ?></td>
</tr>
<tr>
<td colspan="2"><?php echo $s_decription; ?></td>
</tr>
<tr>
<td colspan="2"><div align="right"><a href="/scriptdls/<?php echo $s_name; ?>.zip">Download</a></div></td>
</tr>
</table></td>
</tr>
</table>
<br>
</td>
</tr>
</table></TD>
<TD background="images/index_24.jpg"> <IMG SRC="images/index_24.jpg" WIDTH=29 HEIGHT=292 ALT=""></TD>
</TR>
<TR>
<TD COLSPAN=16>
<IMG SRC="images/index_25.jpg" WIDTH=760 HEIGHT=29 ALT=""></TD>
</TR>
<TR>
<TD>
<IMG SRC="images/spacer.gif" WIDTH=27 HEIGHT=1 ALT=""></TD>
<TD>
<IMG SRC="images/spacer.gif" WIDTH=36 HEIGHT=1 ALT=""></TD>
<TD>
<IMG SRC="images/spacer.gif" WIDTH=22 HEIGHT=1 ALT=""></TD>
<TD>
<IMG SRC="images/spacer.gif" WIDTH=39 HEIGHT=1 ALT=""></TD>
<TD>
<IMG SRC="images/spacer.gif" WIDTH=21 HEIGHT=1 ALT=""></TD>
<TD>
<IMG SRC="images/spacer.gif" WIDTH=49 HEIGHT=1 ALT=""></TD>
<TD>
<IMG SRC="images/spacer.gif" WIDTH=24 HEIGHT=1 ALT=""></TD>
<TD>
<IMG SRC="images/spacer.gif" WIDTH=40 HEIGHT=1 ALT=""></TD>
<TD>
<IMG SRC="images/spacer.gif" WIDTH=23 HEIGHT=1 ALT=""></TD>
<TD>
<IMG SRC="images/spacer.gif" WIDTH=58 HEIGHT=1 ALT=""></TD>
<TD>
<IMG SRC="images/spacer.gif" WIDTH=21 HEIGHT=1 ALT=""></TD>
<TD>
<IMG SRC="images/spacer.gif" WIDTH=46 HEIGHT=1 ALT=""></TD>
<TD>
<IMG SRC="images/spacer.gif" WIDTH=94 HEIGHT=1 ALT=""></TD>
<TD>
<IMG SRC="images/spacer.gif" WIDTH=147 HEIGHT=1 ALT=""></TD>
<TD>
<IMG SRC="images/spacer.gif" WIDTH=84 HEIGHT=1 ALT=""></TD>
<TD>
<IMG SRC="images/spacer.gif" WIDTH=29 HEIGHT=1 ALT=""></TD>
</TR>
</TABLE>
</BODY>
</HTML>
<?php
mysql_free_result($scripts);
?>
do you know what wrong?