RealJava7 Posted January 24, 2011 Share Posted January 24, 2011 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? Quote Link to comment https://forums.phpfreaks.com/topic/225550-web-based-game-done-but-no-mysql-database/ Share on other sites More sharing options...
Maq Posted January 24, 2011 Share Posted January 24, 2011 I assume this is a 3rd party script you're using. You didn't receive a database definition or anything? Quote Link to comment https://forums.phpfreaks.com/topic/225550-web-based-game-done-but-no-mysql-database/#findComment-1164626 Share on other sites More sharing options...
RealJava7 Posted January 24, 2011 Author Share Posted January 24, 2011 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. Quote Link to comment https://forums.phpfreaks.com/topic/225550-web-based-game-done-but-no-mysql-database/#findComment-1164628 Share on other sites More sharing options...
Maq Posted January 24, 2011 Share Posted January 24, 2011 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. Quote Link to comment https://forums.phpfreaks.com/topic/225550-web-based-game-done-but-no-mysql-database/#findComment-1164636 Share on other sites More sharing options...
RealJava7 Posted January 24, 2011 Author Share Posted January 24, 2011 Yeah. Building from the quieres would take awhile. Someone should create a way to automatically. And thanks. I will get in contact with my source. Quote Link to comment https://forums.phpfreaks.com/topic/225550-web-based-game-done-but-no-mysql-database/#findComment-1164637 Share on other sites More sharing options...
Maq Posted January 24, 2011 Share Posted January 24, 2011 Yeah. Building from the quieres would take awhile. Someone should create a way to automatically. And thanks. I will get in contact with my source. Heh, I agree, let us know how it goes. Quote Link to comment https://forums.phpfreaks.com/topic/225550-web-based-game-done-but-no-mysql-database/#findComment-1164663 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.