Jump to content

Web-Based game done but no mysql database?


RealJava7

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.

Archived

This topic is now archived and is closed to further replies.

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