If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Enjoy an ad free experience by logging in. Not a member yet? Register.

Query Errors | Total Noob | Please Help Me

Hello I am trying to run a payout cron but am getting a ton of errors. I do not know anything about coding so was hoping someone could help fix these for/with me?

Notice: Use of undefined constant uid - assumed 'uid' in /var/www/vhosts/steam-wars.com/httpdocs/beta/files/devarea2.php on line 19
Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in /var/www/vhosts/steam-wars.com/httpdocs/beta/files/devarea2.php on line 17
Notice: Use of undefined constant uid - assumed 'uid' in /var/www/vhosts/steam-wars.com/httpdocs/beta/files/devarea2.php on line 30
Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in /var/www/vhosts/steam-wars.com/httpdocs/beta/files/devarea2.php on line 28
Notice: Use of undefined constant uid - assumed 'uid' in /var/www/vhosts/steam-wars.com/httpdocs/beta/files/devarea2.php on line 41
Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in /var/www/vhosts/steam-wars.com/httpdocs/beta/files/devarea2.php on line 39
Notice: Use of undefined constant uid - assumed 'uid' in /var/www/vhosts/steam-wars.com/httpdocs/beta/files/devarea2.php on line 52
Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in /var/www/vhosts/steam-wars.com/httpdocs/beta/files/devarea2.php on line 50
Warning: mysql_fetch_array() expects parameter 1 to be resource, string given in /var/www/vhosts/steam-wars.com/httpdocs/beta/files/devarea2.php on line 68
Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in /var/www/vhosts/steam-wars.com/httpdocs/beta/files/devarea2.php on line 65
Notice: Use of undefined constant family - assumed 'family' in /var/www/vhosts/steam-wars.com/httpdocs/beta/files/devarea2.php on line 93
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Terry_Creek_Mafia' AND family_position='King Pin''' at line 1

You have made a large series of threads, all with pretty much the same basic fundamental errors in them.

If you don't have the coding skills to solve these basic fundamental problems yourself OR to even understand the replies you have already been given and apply them throughout the code, you should not be attempting this.

Go and read through a php/mysql book or a set of basic php/mysql tutorials so that you can at least understand and make use of the help you have already been given.

Finding out HOW to do something is called research, i.e. keep searching until you find the answer. After you attempt to do something and cannot solve a problem with it yourself, would be when you ask others for help.