Jump to content
MakeWebGames

need some help.


jeeppimp

Recommended Posts

I'm running V2, I'm installing streets that require 100 steps per day. v2 doesn't have ( mysql.php ) what do I replace this with? thanks!

**********EDIT**********

It wouldn't be include "globals.php"; would it?

 

 

<?php 

require "mysql.php";  

global $c; 

mysql_query("update users set turns=100",$c) or die(mysql_error());

?>
Link to comment
Share on other sites

Re: need some help.

Question, what i wanted to do is have it setup where when you register U start off with 100 turns, I fkup and made 6 haha! when I update QSL using, ( update table 'users' add 'turns' int(11) not null default 100; ) I get an error that saids, "#1064 - 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 'table users add `shots` int(11) not null default 6' at line 1 "

Is my Update wrong? Anyone!! thanks

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...