Posts
 
Reputation
Joined
Last Seen
Ranked #2K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
2
Posts with Upvotes
2
Upvoting Members
2
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
1 Commented Post
2 Endorsements
Ranked #621
Ranked #2K
~5K People Reached
Favorite Tags
Member Avatar for stokie-rich

Hi guys, On my website that I'm creating I would like to add a personal profile. Where each user who is logged in can change their details, upload an profile picture and change their password or username. Are there any good youtube videos or tutorials that are around to help …

Member Avatar for cpptutslv
0
265
Member Avatar for Ritesh_4

Hello I am currently working on a "local" dev wordpress site, where I have a JS file stored with the path as e.g, http://www.devsite.com/websites/wordpress/mysite/wp-content/themes/mtheme/validations.js Currently, am using the relative path e.g. src = "././wp-content/themes/mtheme/validations.js" to load it. However, on the live server, which is maintained by someone else and I …

Member Avatar for Ritesh_4
0
242
Member Avatar for david.roun.7

Hi all. I'm writing my first javascript game. It's a role playing game where the user fights an Ogre, and not elaborate at all. I'd like the game to end when the Ogre's life is at zero OR the users life is at zero. I can't figure out how to …

Member Avatar for david.roun.7
0
290
Member Avatar for nadiam

hello. I have a table populated by name. The names are links when clicked will pop up a form for editing. each input (for editing) is populated by the equal value from database but im having trouble with one particular text box. this text box is for date of birth …

Member Avatar for diafol
0
582
Member Avatar for Hegneous

Why is this code note updating the database???? <?php include '../connection.php'; $today = new DateTime('2014-7-14 20:10:10'); $appt = new DateTime('2014-8-15 20:10:10'); $days_until_appt = $appt->diff($today)->days; if ($days_until_appt>=30) { $sql = "SELECT username FROM users WHERE position = 'Tenant'"; $result = mysql_query($sql) or die(mysql_error()); echo '<table align="center" border="1" cellpadding="0">'; echo '<tr align="center"><th> …

Member Avatar for DJBirdi
0
178
Member Avatar for freddyparc

Pease I need your help! I am very new in Php programming,I just downloaded wampserver on my system and also komodo for text editor.I launched komodo to place my text and saved the file with the file extension .php then try to run the script for web browser to display …

Member Avatar for pzuurveen
0
196
Member Avatar for SimonIoa

I want to be able to show some .php files before the user logs in I know that the reason we do the session is for ones who are users to see the files but is it possible. I have included the file that connects to teh database session_start(); $session_uid=$_SESSION['uid']; …

Member Avatar for SimonIoa
0
297
Member Avatar for david.roun.7

Ok, so this is cool. On my site, I learned how to create a simplified "wall" like facebook has... sort of. It's great for me to have done that because I am self taught with all of this. There is a problem, however. My <option> is not displaying the names …

Member Avatar for david.roun.7
0
123
Member Avatar for davy_yg

Hello, I wonder what is mysql table name requirements? I have tried creating mysql table with these names: group_mgt --> squprime.group_mgt table does not exist file_uploads_log --> squprime.file_uploads_log table does not exist In order to make the table creation works I have turn group_mgt to group AND turn file_uploads_log to …

Member Avatar for kgariando
0
294
Member Avatar for david.roun.7

So, when I run this code on xampp, it works and I can see the variables, without the header. <html> <head> </head> <body> <?php $user=""; $server=""; $db=""; $pass=""; $con=mysqli_connect($server,$user,$pass,$db); $id=$_POST['loginid']; $password=md5($_POST['password']); $result=mysqli_query($con,"SELECT * FROM passwords WHERE userid='$id' AND password='$password'"); session_start(); if($row=mysqli_fetch_array($result)){ require('../connect/registerdb.php'); $rresult=mysqli_query($rcon,"SELECT * FROM registration WHERE userid='$id'"); while($rrow=mysqli_fetch_array($rresult)){ $_SESSION['name']=$rrow['name']; …

Member Avatar for DJBirdi
0
315
Member Avatar for rjusman90

<td>Upload your pic</td> <td><input type="file" name="1234" value=""></td> <?php $img =$_POST['1234']; $sql="UPDATE users SET FirstName='$FirstName' , LastName='$LastName', UserName='$UserName' $sql_pass,Email='$Email' , Gender='$Gender',PicUrl='$img' WHERE UserId='$User_ID'"; ?> want to save in image folder also

Member Avatar for david.roun.7
0
169
Member Avatar for david.roun.7

Ok, so here is the CSS code in an external sheet: #header{ position:fixed; width:100%; height:15%; } #hedr{ position:fixed; height:5%; width:6%; top:5%; left:30%;} #nme{ position:fixed; font-size:400%; top:3%; left:10%; } Here is the php document: <!DOCTYPE HTML> <html> <head> <meta name="keywords" content="Roun, David Roun, Rounsworld, Heather Roun"> <meta name="description" content="Personal website"> <meta …

Member Avatar for david.roun.7
0
2K
Member Avatar for david.roun.7_1

I'm wanting to create an sql table, when a user registers at my site. This table will eventually be used to log messages. The code follows: <?php require('../connect/kidsblogsconnect.php'); $name=trim(mysql_real_escape_string($_POST['name'])); mysql_query("CREATE TABLE '$name'('sender' VARCHAR(30), 'message' VARCHAR(300), 'dateposted' DATE)") or DIE(mysql_error()); ?> When I run it, I get: You have an error …

Member Avatar for david.roun.7
0
322
Member Avatar for bops

Hi, I'm running into a strange issue on my iPage hosted version of my website. When logging into my system, `$_SESSION["id"]` contains the User ID of the logged in user. Somewhere else on my site I am doing something like this to retrieve the ID of a page: if (isset($_GET["id"])) …

Member Avatar for bops
0
146