Code: Select all
if ($_GET['add'] == 'dl') {
?>
<form name="form6" method="post" action="dl_add.php">
</td>
<td width="25%">files/
<input name="link" type="text" size="35" maxlength="25">
</td>
</tr>
</table>
<input type="submit" name="Submit" value="Add">
<input type="reset" name="Submit2" value="Cancel">
</form>::submit form::
Code: Select all
<?php
include ("config.php");
$open = mysql_connect($db_serv, $db_user, $db_pass);
$scud = mysql_db_query($db_bas , 'SELECT * FROM cheats');
mysql_query("INSERT INTO `cheats` (`date`, `name`, `link`, `info`, `cdproof`, `vacproof`, `id`)VALUES ('$date', '$name', '$link', '$info', '$cdproof', '$vacproof', '')");
?>for the link part, any clue why it would save it as "Resource ID #1"?
everything else works, but it saves the link part as "Resource ID #"