The top code is seriously messed up if you post me the mccodes mod ill convert it for you
on line 9 there is a closing bracket } and before line 9 there are no if statements to continue the else if statement that was used on line 9
oops was meant to click thanks.
Thanks for the reply sniko i have never used unique before will give it a try
EDIT: Thanks worked like a charm and did not even need to use as much code as i used thanks :)
Hello i been having some issues with a mod i been working on
<?php
$a = mysql_query("SELECT `id` FROM `tablename` ORDER BY RAND() DESC LIMIT 1");
$b = mysql_fetch_array($a);
$c = mysql_query("SELECT `target` FROM `tabletwo` WHERE `target` <> '".$b['id']."'");
$d = mysql_fetch_array($c);
?>
What i am trying to do is select 1 person at random and make sure this person is not in the second table then insert them into the second table if this is not true but for some reason the not equal the id that is selected.
on the occasion that it did select the same id i did something like this
<?php
if($b['id'] == $c['target']) {
$a = mysql_query("SELECT `id` FROM `tablename` ORDER BY RAND() DESC LIMIT 1");
$b = mysql_fetch_array($a);
}
else {
insert the info
}
?>
Ok i don't really need anything but willing to throw a idea or two
Engine: Any
Hitlist Module
Users can add other users to hitlist for x amount of cash and user can claim it
nothing special and pretty easy but would give you something to show your skills
[MENTION=65100]W3Theory || Peter[/MENTION]
[MENTION=69001]Zettieee[/MENTION]
[MENTION=70008]DopeboyGFX[/MENTION]
These are the only 3 graphics designers i know hope it helps you out
So the old slot machine on grpg was crap so i recoded it to be better
Users will pay 20 points per spin and have a chance at wining Money,Points,Items
http://nonstopcoding.com/?download=slot-machine-v1-00
hello Adam i have a few questions which might help your sales
What engine is the system (in the event that someone wants the whole package)
did have another question but forgot hmm
[MENTION=65100]W3Theory || Peter[/MENTION] is good designer i think his work is little more expensive depends what you want but definitely worth a check out
[MENTION=69001]Zettieee[/MENTION] is also a good designer and cheaper
Hope this helps
no i was not interested was going to offer a file share which i found. But my mate might be interested i have forwarded the link to your selling topic to his skype so no reply back yet but i am sure he will check it