Search results

  1. A

    [PHP]: Having a problem with fwrite()

    <?php $forumName = $_POST['forumName']; if(!$forumName){ echo "fail"; } mysql_connect('localhost','username','password'); mysql_select_db('abp_main'); mysql_query("INSERT INTO forum_forums VALUES(NULL, '$forumName')"); $affectedRows = mysql_affected_rows(); $query1 = mysql_query("SELECT *...
  2. A

    MySQL or PHP problem

    I'm guessing it was just the link. It worked fine without it.
  3. A

    MySQL or PHP problem

    I'm attempting to create a login script, but I can't seem to use mysql_num_rows or mysql_fetch_assoc. Here's my script: <?php $username=$_POST['username']; $password=$_POST['password']; if(!$username || !$password){ header("Location: http://www.attackbunnypro.x10hosting.com/admin/"); }...
Top