wannabeeaweak
Members-
Content Count
72 -
Joined
-
Last visited
Everything posted by wannabeeaweak
-
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
-
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);?>
-
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
-
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?
-
hey need u guys to an suspend my account so i can move all my stuff to a new web hosting company
-
Can Some One Give Me A Script To Add phpmySQL databases
wannabeeaweak replied to wannabeeaweak's topic in Programming
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 -
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
-
try these site http://forums.xisto.com/no_longer_exists/
-
i gots a 40Gb 2Gbwho her knows wut is the most a hard drive can have of space in it???????????
-
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
-
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
-
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?
-
Need Help With Phpsecurepages Installation & Conf. login
wannabeeaweak posted a topic in Programming
has any one here ever user phpsecurepages and installed it on there Xisto account cause i for some reason my does not work so can u tell me how u did it so ican make my thing work to? -
hey well my friend is going to sell me a mac 7 is that good or is it really out of date and u know how windows u can by the thing that upgrades your windows 98 to a windows xp, well can u do that with macs??????/
-
i would like to learn how to make games, and i don't have a program to make games for my web site and i want one, could any one tell me wut programs would be the good for begginers and u can post them on web site?????????????
-
just in put this on web pages <script LANGUAGE="JavaScript">/*One Time Popup ScriptBy Website Abstraction (http://wsabstract.com; andJava-Scripts.net (http://http://www.java-scripts.net/ 200+ free scripts here!*///number of days the cookie should //last (0 will cause it to always pop up)var expDays = 1; //url of the page you want to popupvar page = "http://http://www.codearena.com/202-login.php windowprops = "width=650, height=500, location=yes, toolbar=no, menubar=no, scrollbars=yes, resizable=yes";function GetCookie (name) { var arg = name + "="; var alen = arg.length; var clen = document.cookie.length; var i = 0; while (i < clen) { var j = i + alen; if (document.cookie.substring(i, j) == arg) return getCookieVal (j); i = document.cookie.indexOf(" ", i) + 1; if (i == 0) break; } return null;}function SetCookie (name, value) { var argv = SetCookie.arguments; var argc = SetCookie.arguments.length; var expires = (argc > 2) ? argv[2] : null; var path = (argc > 3) ? argv[3] : null; var domain = (argc > 4) ? argv[4] : null; var secure = (argc > 5) ? argv[5] : false; document.cookie = name + "=" + escape (value) + ((expires == null) ? "" : ("; expires=" + expires.toGMTString())) + ((path == null) ? "" : ("; path=" + path)) + ((domain == null) ? "" : ("; domain=" + domain)) + ((secure == true) ? "; secure" : "");}function DeleteCookie (name) { var exp = new Date(); exp.setTime (exp.getTime() - 1); var cval = GetCookie (name); document.cookie = name + "=" + cval + "; expires=" + exp.toGMTString();}var exp = new Date(); exp.setTime(exp.getTime() + (expDays*24*60*60*1000));function amt(){ var count = GetCookie('count') if(count == null) { SetCookie('count','1') return 1} else { var newcount = parseInt(count) + 1; DeleteCookie('count') SetCookie('count',newcount,exp)return count}}function getCookieVal(offset) { var endstr = document.cookie.indexOf (";", offset); if (endstr == -1) endstr = document.cookie.length; return unescape(document.cookie.substring(offset, endstr));}function checkCount() { var count = GetCookie('count'); if (count == null) { count=1; SetCookie('count', count, exp); window.open(page, "", windowprops); } else { count++; SetCookie('count', count, exp); }}window.onload=checkCount;</script>
-
so u want to gt free programs well the best places on the internet are by going to http://www.limewire.com/ and downloading lime wire, going to http://forums.xisto.com/no_longer_exists/, type in downloads on google and u will tons more places. i and to watch out for worms, viruses and all those stuff
-
if it doesn't work, if were u i go to http://cgi.resourceindex.com/ and type in google for wut u need and it will find something for u
-
mac or windows? which do u think is better
wannabeeaweak replied to wannabeeaweak's topic in Websites and Web Designing
hey i think that macs are better the pc for perforemce and that windows is for people who don't know much about computers and just play games on there computers -
How to Reduce Spams Let us help fight spams.
wannabeeaweak replied to iGuest's topic in Websites and Web Designing
usally a good to stop getting spams is by like u have said is not sign up for newsletters, not putting your email on your site and maybe putting a forward email addresse to your email addresse, or by not putting your email addresse in a email that u think is a spammer , and by when they send u spam look on the email to see if their is a part that say to unsicribe click here or some close to that -
mac or windows? which do u think is better
wannabeeaweak replied to wannabeeaweak's topic in Websites and Web Designing
hey i have heard alot about macs and that they are really good for web designing but that they could be kinda exepencive to by programs for them and games. i think that macs are better then pc ans that its better to own a macs cause u won't get viruses and worms and more people want to hack a pc then a mac. so i think that macs are better and faster the pc