
william7neace
Members-
Posts
40 -
Joined
-
Last visited
Never
Content Type
Profiles
Forums
Events
Everything posted by william7neace
-
I got this for you code Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/darkshad/public_html/missions.php on line 9
-
ok i am getting this on my Missions link Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/darkshad/public_html/missions.php on line 10 <?php session_start(); include "globals.php"; $ir['level']=(int)($ir['level']); //-- Missions V2 $error=("<b style='color:red;'>ERROR[/b]: "); print "<center><h3>Missions</h3> [b]You can start a mission now.[/b] </center>"; $q=mysql_query("SELECT * FROM missions",$c); if(mysql_num_rows($q)== 0) { die($error."There is no missions currently set up."); } $q2=mysql_query("SELECT * FROM missions WHERE level < ".$ir['level']."",$c); print "<table width=100% border=0><tr><th>Mission Name</th><th>Mission Description</th><th>Level Required</th><th>Location Needed</th><th>Links</th></tr>"; if(mysql_num_rows($q2)== 0) { print "<tr><td colspan=5>There are no missions currently available.</td></tr>"; } while($r2=mysql_fetch_array($q2)) { if($r2['location_on'] == 1) { $cnq=mysql_query("SELECT cityname FROM cities WHERE cityid=".$r2['location_value']."",$c); if($ir['location'] != $r2['location_value']) { $location="<font color=purple>[b]".mysql_result($cnq,0,0)."[/b]</font>"; $do="N/A"; } else { $location="<font color=red>[b]".mysql_result($cnq,0,0)."[/b]</font>"; $do="[url='startmission.php?ID=$r2[id]'][start][/url]"; } } else { $location="<font color=red>N/A</font>"; $do="[url='startmission.php?ID=$r2[id]'][start][/url]"; } $q3=mysql_query("SELECT * FROM missdone WHERE user=".$ir['userid']." AND mission=".$r2['id']."",$c); if(mysql_num_rows($q3)) { $do="[i]Done[/i]"; } print "<tr><td>{$r2['name']}</td><td>{$r2['description']}</td><td> {$r2['level']}</td><td>$location</td><td>$do</td></tr>"; } print "</table>"; $h->endpage(); ?>
-
hey guys i am putting missions on my game and i get this when i go to the missions link on my game... Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/darkshad/public_html/missions.php on line 17 This is my Missions.php <?phpsession_start();include "globals.php";$ir['level']=(int)($ir['level']);//-- Missions V2$error=("<b style='color:red;'>ERROR[/b]: ");print "<center><h3>Missions</h3>[b]You can start a mission now.[/b] </center>";$q=mysql_query("SELECT * FROM missions",$c);if(mysql_num_rows($q)== 0) { die($error."There is no missions currently set up."); }$q2=mysql_query("SELECT * FROM missions WHERE level < ".$ir['level']."",$c);print "<table width=100% border=0><tr><th>Mission Name</th><th>Mission Description</th><th>Level Required</th><th>Location Needed</th><th>Links</th></tr>";if(mysql_num_rows($q2)== 0){print "<tr><td colspan=5>There are no missions currently available.</td></tr>";}while($r2=mysql_fetch_array($q2)) { if($r2['location_on'] == 1) { $cnq=mysql_query("SELECT cityname FROM cities WHERE cityid=".$r2['location_value']."",$c);if($ir['location'] != $r2['location_value']) { $location="<font color=purple>[b]".mysql_result($cnq,0,0)."[/b]</font>"; $do="N/A"; } else { $location="<font color=red>[b]".mysql_result($cnq,0,0)."[/b]</font>"; $do="[url='startmission.php?ID=$r2[id]'][start][/url]"; } } else { $location="<font color=red>N/A</font>";$do="[url='startmission.php?ID=$r2[id]'][start][/url]"; }$q3=mysql_query("SELECT * FROM missdone WHERE user=".$ir['userid']." AND mission=".$r2['id']."",$c);if(mysql_num_rows($q3)) { $do="[i]Done[/i]"; }print "<tr><td>{$r2['name']}</td><td>{$r2['description']}</td><td>{$r2['level']}</td><td>$location</td><td>$do</td></tr>";}print "</table>";$h->endpage();?>
-
Thx guys got the wsIrc Chat room alll set up :)
-
Ok i got this code from the wsIrc website you were talking about Jordan <IFRAME SRC=http://www.wsirc.com/?username=wsirc_******&server=binary.ipocalypse.net%3A6667&channel=Dark%20Shadows&autojoin=false&color=%23000000&dark=true STYLE='width: 100%; height: 900;' WIDTH=100% HEIGHT=900 FRAMEBORDER=0 BORDER=0 SCROLLING=NO SCROLLBAR=NO></IFRAME> Now what do i put it in to???
-
I did what you said and it fixed it... but i got this Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/darkshad/public_html/chatrooms.php on line 12 Then when i try to start a new Chatroom it says this Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'root'@'localhost' (using password: YES) in /home/darkshad/public_html/mysql.php on line 2 Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in /home/darkshad/public_html/mysql.php on line 3 e Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /home/darkshad/public_html/startroom.php on line 12 Access denied for user 'root'@'localhost' (using password: YES)
-
No i only get it on my when i click on chat... Every other page is ok
-
Ok guys i am having problems for some reason with a chat mod that i have... Have everything set up, but when i click my chat button i get this How can i fix this?? Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'root'@'localhost' (using password: YES) in /home/darkshad/public_html/mysql.php on line 2 Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in /home/darkshad/public_html/mysql.php on line 3 e Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /home/darkshad/public_html/chatrooms.php on line 12 Access denied for user 'root'@'localhost' (using password: YES)
-
Ok guys i have started my own game and i have the basics down on php coding.. i was wondering if someone would like to donate some of there time and help me code some stuff... like adding a chat and such to my game...
-
Hey guys i have a pic i wanna put on my Menu bar on my Mccodes V2 game... How would i do this???
-
I do not mean those kind of game templates meant like i template for my Mccodes V2
-
How do i update my SQL so that i can do the mods for Mccodes V2???
-
[MCCODES V2] Fully Customise your game layout
william7neace replied to Uridium's topic in Free Modifications
1. Copied the files saved them as the names that they were told to save as.. 2. Did the layout installer 3. Uploaded the files after that 4. Tried to change the text color 5. IT DIDN'T WORK :( -
[MCCODES V2] Fully Customise your game layout
william7neace replied to Uridium's topic in Free Modifications
I followed all the steps and it will not let me change the text color or change the Center panel image.... What's going on??? -
Hey everyone i just made my game ind it's way to plan... So i was wondering if someone would create me a theme for free??
-
Thank you Dave Macaulay
-
@dominion Thanks for taking up for me.... @Kieran-R I have the game going.... @ Dave Macaulay Alright will do
-
no just tried... It won't let me! how gay
-
yes..... I got to the tutorial for the timescript but i don't have a clue how to use the codes he has posted on there
-
humm.... i'm logged in still so luck.... but i got the other link you sent me
-
Time Scripts Guys my Cpanel doesn't have Cron Jobs so i was wondering if i can get someone to help me with Time Script plz
-
thank you dominion for taking them off there Curt i tried to go to the link and it said You are not allowed to enter this page. You do not have the required permissions to enter this page.
-
well i am looking on google.... What should i look for???
-
k thx... can you help me with the timestamps or whatever?????
-
time stamps???? Can you help me with that???