Jump to content
xisto Community

wannabeeaweak

Members
  • Content Count

    72
  • Joined

  • Last visited

About wannabeeaweak

  • Rank
    Member [Level 1]
  • Birthday 02/21/1991

Contact Methods

  • Website URL
    http://

Profile Information

  • Gender
    Male
  • Location
    Los Angeles, CA
  1. hey i would like my account to be fully deleted including all the things i posted and my cpanel everything under this user name wannabeeaweakk thanks
  2. hey well can some one helpme make this code work it won't INSERT INTO THE DATABSE <?php# register1.php# common include file to MySQLinclude("DB.PHP");$Username=$_POST['Username'];$Password=$_POST['Password'];$Name=$_POST['Name'];$Last=$_POST['Last'];$Sex=$_POST['Sex'];$Month=$_POST['Month'];$Day=$_POST['Day'];$Year=$_POST['Year'];$Adresse=$_POST['Adresse'];$City=$_POST['City'];$State=$_POST['State'];$Zipcode=$_POST['Zipcode'];$Country=$_POST['Country'];$Phone=$_POST['Phone'];$Email=$_POST['Email'];$Father_Name=$_POST['Father_Name'];$Mother_Name=$_POST['Mother_Name'];$Parent_Phone=$_POST['Parent_Phone'];$Parent_Email=$_POST['Parent_Email'];$Level=$_POST['Level'];$Academic=$_POST['Academic'];$Image_Link=$_POST['prevImage'];$sql9="INSERT INTO User SET id = 'NULL', Username = '$Username', Password = '$Password', Name='$Name', Last='$Last', Sex='$Sex', Month='$Month', Day='$Day', Year='$Year', Adresse='$Adresse', City='$City', State='$State', Zipcode='$Zipcode', Country='$Country', Phone='$Phone', Email='$Email', Father_Name='$Father_Name', Mother_Name='$Mother_Name', Parent_Phone='$Parent_Phone', Parent_Email='$Parent_Email', Level='$Level', $Academic='$Academic'";$sql3="SELECT * FROM User WHERE Username='$Username' AND Password='$Password'";$sql4="SELECT * FROM User WHERE Email='$Email'"; # insert login/password $result = mysql_query($sql); if (!$result) { echo "Please Try Again"; } else { echo"Thank you for sign up"; }mysql_close($connection);?>
  3. thanks for the help but i am looking to just have a next page and pervious page and only have 7 games a page and well i need help to make this code work
  4. this is the original script i made <?php# include file include ("connect.php"); $db=mysql_select_db(unknow,$connection);$sql="SELECT id, Game_name, Game_link, Game_image ,Game_from FROM `Games` ORDER BY id";$mysql_result=mysql_query($sql);$num_rows=mysql_num_rows($mysql_result);if ( $num_rows == 0){ echo "Sorry there is no information in that database please come back later";}else {# we have result#create tableWHILE ($row=mysql_fetch_array($mysql_result)){ $id=$row["id"]; $Game_name=$row["Game_name"]; $Game_link=$row["Game_link"]; $Game_image=$row["Game_image"]; echo "<table bgcolor=\"#666666\" align=\"center\">"; echo "<tr><td bgcolor=\"#666666\"><div align=\"center\">"; echo "<table width=\"376\" bgcolor=\"black\" align=\"center\">"; echo "<tr><td width=\"98\" rowspan=\"0\"><img src=\"$Game_image\" width=\"65\" height=\"65\"><br><span class=\"style3\">$Game_name</span></td>"; echo "<td height=\"91\" colspan=\"3\"><span class=\"style3\">$Game_description</span></td></tr>"; echo "<tr><td width=\"130\"><div align=\"center\"><span class=\"style1\"><a href=\"play_game.php?row_id=$id\">Play Game</a></span></div></td>"; echo "<td width=\"264\"><div align=\"center\"><form name=\"rate_game\"> <select name=\"rate_game\" onChange=\"MM_jumpMenu('parent',this,1)\"> <option selected>Rate Game</option> <option value=\"rating_game.php?id=$id,rating=1\">1</option> <option value=\"rating_game.php?id=$id,rating=2\">2</option> <option value=\"rating_game.php?id=$id,rating=3\">3</option> <option value=\"rating_game.php?id=$id,rating=4\">4</option> <option value=\"rating_game.php?id=$id,rating=5\">5</option> <option value=\"rating_game.php?id=$id,rating=6\">6</option> <option value=\"rating_game.php?id=$id,rating=7\">7</option> <option value=\"rating_game.php?id=$id,rating=8\">8</option> <option value=\"rating_game.php?id=$id,rating=9\">9</option> <option value=\"rating_game.php?id=$id,rating=10\">10</option> </select> </form></div></td>"; echo "<td width=\"0\" height=\"28\"><div align=\"center\"><span class=\"style3\"></span></div></td></tr>"; echo "</table></div></div></td></tr></table>";}} # end elsemysql_close($connection); ?> and i wanted to add a next page function on it and this is what i came up with <?php# include file include ("connect.php"); $db=mysql_select_db(unknow,$connection);$per_page = 7;$sql="SELECT id, Game_name, Game_link, Game_image ,Game_from FROM `Games` ORDER BY id";// Set page #, if no page isspecified, assume page 1if (!$page) { $page = 1;}$prev_page = $page - 1;$next_page = $page + 1;$mysql_result=mysql_query($sql);// Set up specified page$page_start = ($per_page * $page) - $per_page;$num_rows = mysql_num_rows($mysql_result);if ($num_rows <= $per_page) { $num_pages = 1;} else if (($num_rows % $per_page) == 0) { $num_pages = ($num_rows / $per_page);} else { $num_pages = ($num_rows / $per_page) + 1;}$num_pages = (int) $num_pages;if (($page > $num_pages) || ($page < 0)) { error("You have specified an invalid page number");}$sql = $sql . " LIMIT $page_start, $per_page";while ($result = mysql_fetch_array($mysql_result)){ $id=$row["id"]; $Game_name=$row["Game_name"]; $Game_link=$row["Game_link"]; $Game_image=$row["Game_image"]; echo "<table bgcolor=\"#666666\" align=\"center\">"; echo "<tr><td bgcolor=\"#666666\"><div align=\"center\">"; echo "<table width=\"376\" bgcolor=\"black\" align=\"center\">"; echo "<tr><td width=\"98\" rowspan=\"0\"><img src=\"$Game_image\" width=\"65\" height=\"65\"><br><span class=\"style3\">$Game_name</span></td>"; echo "<td height=\"91\" colspan=\"3\"><span class=\"style3\">$Game_description</span></td></tr>"; echo "<tr><td width=\"130\"><div align=\"center\"><span class=\"style1\"><a href=\"play_game.php?row_id=$id\">Play Game</a></span></div></td>"; echo "<td width=\"264\"><div align=\"center\"><form name=\"rate_game\"> <select name=\"rate_game\" onChange=\"MM_jumpMenu('parent',this,1)\"> <option selected>Rate Game</option> <option value=\"rating_game.php?id=$id,rating=1\">1</option> <option value=\"rating_game.php?id=$id,rating=2\">2</option> <option value=\"rating_game.php?id=$id,rating=3\">3</option> <option value=\"rating_game.php?id=$id,rating=4\">4</option> <option value=\"rating_game.php?id=$id,rating=5\">5</option> <option value=\"rating_game.php?id=$id,rating=6\">6</option> <option value=\"rating_game.php?id=$id,rating=7\">7</option> <option value=\"rating_game.php?id=$id,rating=8\">8</option> <option value=\"rating_game.php?id=$id,rating=9\">9</option> <option value=\"rating_game.php?id=$id,rating=10\">10</option> </select> </form></div></td>"; echo "<td width=\"0\" height=\"28\"><div align=\"center\"><span class=\"style3\"></span></div></td></tr>"; echo "</table></div></div></td></tr></table>";}if ($prev_page) { echo "<a href=\"index2.php?page=$prev_page\">Prev</a>}for ($i = 1; $i <= $num_pages; $i++) { if ($i != $page) { echo "<a href=\"index2.php?page=$i\">$i</a>"; } else { echo " $i "; }}// Nextif ($page != $num_pages) { echo "<a href=\"index2.php?page=$next_page\">Next</a>}# we have result#create table} # end elsemysql_close($connection); ?> and it doesn't work can any one help i want to add a next page funstion to this script so i can display only 7 per page. so can any one help or give me some example or something to make my script better?
  5. hey need u guys to an suspend my account so i can move all my stuff to a new web hosting company
  6. i am aming going to start my on sever and i am not sure which is beter to run my sever on windows, lunix or unix?????????????????
  7. well can i can wait but i would rather get one ASAP but ok look on m database i will not only have links i want to put games on it movies and files
  8. hey does any one here know a script or can tell me how to add links to a database? please i need really badly for my website
  9. try these site http://forums.xisto.com/no_longer_exists/
  10. i gots a 40Gb 2Gbwho her knows wut is the most a hard drive can have of space in it???????????
  11. whats is better to start a server on a windows,unix or lunix?which one has more security?which get less viruses?which is better for programing and web design?
  12. hey here are some text editors that you could useEvrsoft http://forums.xisto.com/no_longer_exists/ free for 30 daysGolive free 30 days i thinkand try tyeing in on google free webdite editors
  13. well from wut i uderstand i think wut u need to do is setup a cgi script that takes the stuff that people input and sends it to your email. or u can go u this web site and wut they do is u just sign up and u just read there stuff on how to do it and they offer u to just fill out the form and u can get a cgi that when people input the stuff it send it to your emal. well the site is i think the site is http://www.vmcsatellite.com/rg-erdr.php?_rpo=t
  14. well he is oly going to sell me the tower for like 50 bucks and well i need a new computer but i don't have much money so would it be possible to get a newer the mac7 but older then mac os x for around 150?
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.