Posts: 7,801
Threads: 187
Joined: Feb 2010
Reputation:
0
Hello... How could I go about making a server MOTD read & write to and from a MySQL database? I've tried and was able to get it to save, but I just couldn't get the text to show up where the "%s" variable was, so I gave up. Any ideas?
Post your code ( What you have so far ) ( Hope you haven't deleted it yet -_- )
Posts: 7,801
Threads: 187
Joined: Feb 2010
Reputation:
0
No, it's not too late. I can easily re-create the code, but I want somebody else to explain to me how to do it.
Posts: 2,896
Threads: 11
Joined: Sep 2008
Reputation:
0
Simply retrieve the string from the database (mysql_fetch_string), storing it into an array.
What were you having trouble with?