Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


PHP problems... +rep for solution

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Random spam
View previous topic :: View next topic  
Author Message
Fafaffy
Cheater
Reputation: 65

Joined: 12 Dec 2007
Posts: 28

PostPosted: Sat Nov 07, 2009 10:14 am    Post subject: PHP problems... +rep for solution Reply with quote

Code:
$sQuery = "INSERT INTO `valid`.`clients`
(`user_name` ,`company` ,`email`, `serial_no`)
VALUES ($user , '$comp', '$email', '$serial')";
mysql_query($sQuery);
if (mysql_query($sQuery))
{
print "Your serial number: " . $serial;
}
else
{
echo "error: ". mysql_error();
}


Keeps saying "INSERT command denied to user '******'@'localhost' for table '******'"

* = censor
but
i my user has full rights to the database.

solution = rep

_________________
Brillia wrote:
I FUCKING FUCK SEX
Back to top
View user's profile Send private message Send e-mail
Demetrius Flenory
Advanced Cheater
Reputation: 2

Joined: 05 May 2009
Posts: 51
Location: Menage a trois

PostPosted: Sat Nov 07, 2009 10:15 am    Post subject: Reply with quote

solution

There, where's my + Rep ?
Back to top
View user's profile Send private message
compactwater
I post too much
Reputation: 8

Joined: 02 Aug 2006
Posts: 3923

PostPosted: Sat Nov 07, 2009 10:17 am    Post subject: Reply with quote

The user you're using for that table does not have access to it.
Solution? Add it.

http://dev.mysql.com/doc/refman/5.1/en/adding-users.html
Back to top
View user's profile Send private message
Fafaffy
Cheater
Reputation: 65

Joined: 12 Dec 2007
Posts: 28

PostPosted: Sat Nov 07, 2009 12:43 pm    Post subject: Reply with quote

compactwater wrote:
The user you're using for that table does not have access to it.
Solution? Add it.

http://dev.mysql.com/doc/refman/5.1/en/adding-users.html

I already have a user.

I am able to write to MySql but not in this form

_________________
Brillia wrote:
I FUCKING FUCK SEX
Back to top
View user's profile Send private message Send e-mail
WhiteByte
Master Cheater
Reputation: 0

Joined: 29 Mar 2009
Posts: 404
Location: Visual Studio

PostPosted: Sat Nov 07, 2009 12:43 pm    Post subject: Reply with quote

Download instant hack creator
_________________
Back to top
View user's profile Send private message Send e-mail
Fafaffy
Cheater
Reputation: 65

Joined: 12 Dec 2007
Posts: 28

PostPosted: Sat Nov 07, 2009 1:18 pm    Post subject: Reply with quote

I solved this by myself =p but compactwater was the most helpful so he wins rep
_________________
Brillia wrote:
I FUCKING FUCK SEX
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Random spam All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites