Hey halls....
I downloaded the source files for 2, 3 and 11, trying to find the sql but don't see them. Is it hosted somewhere else?
Thanks m8... doing a great job as usual
EPI
Search found 1119 matches
- Sat Apr 16, 2016 6:58 am
- Forum: Browser Based MMO 2.0
- Topic: Video 11
- Replies: -1
- Views: 7064
- Fri Aug 21, 2015 10:46 pm
- Forum: Advanced Help and Support
- Topic: Updating Msql after 1 day
- Replies: -1
- Views: 4880
Updating Msql after 1 day
Hey all, I have been working on a game, and now at the point that i"m creating packages that users can purchase. They are limited to certain times of the month, or limited to when I activate the package. When I activate the package, it inserts the datetime and 3 days after, the finish time. if(...
- Thu Jul 09, 2015 1:07 pm
- Forum: Advanced Help and Support
- Topic: Mass Email [RESOLVED]
- Replies: -1
- Views: 16248
Re: Mass Email
Again, thank you very much for the help. I know it must be difficult doing it from a phone. U do better than I would. I hardly ever use my phone to text or type. Thank you much!!!
- Thu Jul 09, 2015 12:52 pm
- Forum: Advanced Help and Support
- Topic: Mass Email [RESOLVED]
- Replies: -1
- Views: 16248
Re: Mass Email
It's done... an apostrophe was left out before the messages: '{$_POST['subject']}', {$_POST['message']}', So I changed to: '{$_POST['subject']}', '{$_POST['message']}', LOL! I knew the code looked right, but couldn't understand why it wouldn't input into database... I bet u were pulling u're hair ou...
- Thu Jul 09, 2015 12:43 pm
- Forum: Advanced Help and Support
- Topic: Mass Email [RESOLVED]
- Replies: -1
- Views: 16248
Re: Mass Email
I always end up with crazy stuff lol
it echoes all the information out, but will not put it in the database grrrrrrrr
it echoes all the information out, but will not put it in the database grrrrrrrr
- Thu Jul 09, 2015 12:36 pm
- Forum: Advanced Help and Support
- Topic: Mass Email [RESOLVED]
- Replies: -1
- Views: 16248
Re: Mass Email
I've put it after everything and tried it. No error displays. I put after while R loop, after the sql and after the query, just to be thorough, but nothingKyleMassacre wrote:put in there before the mysql_query echo $sql."<br/>";
- Thu Jul 09, 2015 12:32 pm
- Forum: Advanced Help and Support
- Topic: Mass Email [RESOLVED]
- Replies: -1
- Views: 16248
Re: Mass Email
It would be mysqli_error($db_lqls); I put that in there but shows no error $sql = "INSERT INTO messages (pid, subject, message, randid, date, sender)VALUES('{$r['username']}','{$_POST['subject']}', {$_POST['message']}', '$randid', now(), 'System Message')"; mysqli_error($db_lqls); $query ...
- Thu Jul 09, 2015 12:29 pm
- Forum: Advanced Help and Support
- Topic: Mass Email [RESOLVED]
- Replies: -1
- Views: 16248
Re: Mass Email
KyleMassacre wrote:You would need to print it using print_r, var_dunp, or var_export. But I'm more interested in the $sql variable myself
kk, I did echo the r username and it does show all the users in the database. I forget how to use the mysqli error to dispaly any errors in the variable
- Thu Jul 09, 2015 12:23 pm
- Forum: Advanced Help and Support
- Topic: Mass Email [RESOLVED]
- Replies: -1
- Views: 16248
Re: Mass Email
If I try to echo the $r['username'], which is where you have the username coming from the users table, I get all the names listed
- Thu Jul 09, 2015 11:51 am
- Forum: Advanced Help and Support
- Topic: Mass Email [RESOLVED]
- Replies: -1
- Views: 16248
Re: Mass Email
It's probably something real stupid too. Can you show your table? Is pid supposed to be their username or their player ID? `messid` int(11) NOT NULL AUTO_INCREMENT, `pid` varchar(21) NOT NULL, `subject` text NOT NULL, `message` text NOT NULL, `randid` int(8) NOT NULL, `date` timestamp NOT NULL DEFA...