Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~4K People Reached
Favorite Tags
Member Avatar for philmetz

For the following code I have a problem. When i fill in the form and submit it inserts a new database value. But when I refresh the page it does it again automatically with the same data, and keeps doing it whenever i refresh. How do i stop this? [CODE] …

Member Avatar for ErlendHL
0
3K
Member Avatar for Danny247

[CODE]$wordpress_user_db_query = mysql_query("INSERT INTO cedsite_wrdp1.wp_users (`user_login`, `user_pass`, `user_nicename`, `user_email`, `user_url`, `user_registered`, `user_activation_key`, `user_status`, `display_name`) VALUES ('".$username."', '".md5($pass)."', '".$username."', '".$email."', '', '".$date."', '', 0, '".$username."');");[/CODE] Using PHP I am trying to do that, but it isn't working. Can someone help?

Member Avatar for Dragonbaki
0
172
Member Avatar for Danny247

Here's a snippet of my code: [CODE]<? include("include/session.php"); //include("forum/global.php"); $con = mysql_connect($dbhost,$dbuser,$dbpass); $time = time(); $date = date("Y-n-j H:i:s"); $ip = $_SERVER['REMOTE_ADDR']; $email = $_POST['email']; $lastname = ucwords($_POST['lastname']); $firstname = ucwords($_POST['firstname']); $firstinitial = $firstname[0]; $username = $firstinitial."_".$lastname; $pass = $_POST['password']; // MYBB function generate_salt() { return random_str(8); } function salt_password($password, …

Member Avatar for richieking
0
187
Member Avatar for Danny247

[CODE]$wordpress_user_db_query = mysql_query("INSERT INTO cedsite_wrdp1.wp_users (`user_login`, `user_pass`, `user_nicename`, `user_email`, `user_url`, `user_registered`, `user_activation_key`, `user_status`, `display_name`) VALUES ('".$username."', '".md5($pass)."', '".$username."', '".$email."', '', '".$date."', '', 0, '".$username."');");[/CODE] Using PHP I am trying to do that, but it isn't working. Can someone help?

Member Avatar for pritaeas
0
74
Member Avatar for Danny247

The cause of the problem (don't yell at me - I know it was stupid): I was restarting Windows (for a update, I think) and it was on the "Shutting Down..." screen for about 30 minutes so I just got annoyed and unplugged it and took out the battery. Right …

Member Avatar for Maplestory
0
131
Member Avatar for Danny247

I have a Compaq Presario F700 and when I try to turn it on, the power light comes on for a second (I hear the fan), but then shuts off again. The cause is most likely that I was restarting my computer for a Firefox update to take effect, but …

Member Avatar for Danny247
0
178
Member Avatar for Danny247

I have an AJAX chat that I am trying to edit. Originally, the users are stored in a php file. I'm trying to make it get users from a database. Here's the original users.php file: [url]http://pastebin.com/mgbQjHyK[/url] Here's what I've tried: [url]http://pastebin.com/kXgVLuyG[/url] Can someone tell me what I'm doing wrong? [hr] …

Member Avatar for Danny247
0
171