Jump to content

Recommended Posts

Well. I have a game with the PHP Scripts and everything already done.

But I have no MYSQL Database.

 

So, basically when running the game it is asking for things such as:

 

$online = mysql_num_rows(mysql_query("SELECT * FROM accdata WHERE online>$time"));

 

I would like to know is there anyway to recreate the database to fit the needs of these scripts.

If so, would I have to do it manually and if I do, how so?

Yes it is.

I would first like to say, "Thank You" for the fast reply. Even if the problem can't be solved.

 

It came with a empty SQL file, which does not help at all.

 

I would try and get into contact with the source you got this from.  They should have provided a .sql file for you to build the entire DB structure.  I would not want to even try to build a DB from the queries in the script and, AFAIK, there is no automatic way to do this.

This thread is more than a year old. Please don't revive it unless you have something important to add.

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.   Restore formatting

  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...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.