Server MOTD
#1

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?
Reply
#2

Post your code ( What you have so far ) ( Hope you haven't deleted it yet -_- )
Reply
#3

Quote:
Originally Posted by [L3th4l]
Посмотреть сообщение
Post your code ( What you have so far ) ( Hope you haven't deleted it yet -_- )
Yeah, I deleted it.
Reply
#4

so why you ask now ? thats too late
Quote:

new MBX is the BEST;

Reply
#5

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.
Reply
#6

Bump... Bump... Bump...
Reply
#7

Simply retrieve the string from the database (mysql_fetch_string), storing it into an array.

What were you having trouble with?
Reply
#8

Quote:
Originally Posted by Grim_
Посмотреть сообщение
Simply retrieve the string from the database (mysql_fetch_string), storing it into an array.

What were you having trouble with?
That's what I was doing, but I might of been doing it incorrectly. I'll give it another go and update you on any changes.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)