Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
4
Posts with Upvotes
4
Upvoting Members
2
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements
Ranked #2K
~4K People Reached
Favorite Forums

16 Posted Topics

Member Avatar for Rachael_1

Can you please try this as your query $sql = "UPDATE userprofile SET user_name = '".$username."', email = '".$email."', description = '".$description."' WHERE user_id = '". $_GET['id']."'";

Member Avatar for glycerine
0
296
Member Avatar for HasNor

Are you getting any errors? You need to add else to the end of your if statement. So do something like: if ($by=="all"){ $sql="SELECT * FROM request WHERE status='$stts1' OR status='$stts2' OR status='$stts3' OR status='$stts4'"; }else if ($by=="my"){ $sql="SELECT * FROM request WHERE status='$stts1' OR status='$stts2' OR status='$stts3' OR status='$stts4' …

Member Avatar for HasNor
0
182
Member Avatar for glycerine

Hey guys im creating a weapon comparison script for the new game the secret world. A excel spreadsheet has already been created to do this (attached)(i have permission to replicate) but I wanted to give it ago via a php script. See what I currently have attached. What I need …

Member Avatar for glycerine
0
111
Member Avatar for JeDieL_guitar07

There are many pre made scripts. Have a look at this one http://epplersoft.com/webtester/demo.html it includes an admin area for easy management.

Member Avatar for glycerine
0
95
Member Avatar for Patiodude

You could do something like include('path/to/file/header.php'); //path/to/file being full path name

Member Avatar for glycerine
0
206
Member Avatar for glycerine

I hope the title made sense. ok ive got a table in a PostgreSQL database that has a few coloumns in it. What im tryting to do is the following: [CODE]<?php $totaltimetodayresult = pg_query($link, "SELECT SUM(acctsessiontime) AS totaltime FROM radacct WHERE acctstarttime LIKE '%".$today."%'"); while($totaltimetodayarray = pgfetch_array($totaltimemonthresult)){ $totaltimetoday = $totaltimetodayarray['acctsessiontime']; …

Member Avatar for glycerine
0
708
Member Avatar for ahasan_al_rabbi

I havnt set up the theme but the images usually are tied to the post that the slider is calling so look for the attached thumbnail or check the custom fields area. If you can see the custom fields area click 'screen options' (top right) then check the custom fields …

Member Avatar for glycerine
0
62
Member Avatar for willbreaths

[CODE]if(isset($check)){ setcookie("myuserid", $_SESSION['myuserid'], time()+60*60*10, "/path/to/website/"); setcookie("myusername", $_SESSION['myusername'], time()+60*60*10, "/path/to/website/"); }[/CODE] Then on your protected pages put this after the 'session_start()' [CODE]//check for cookies if(isset($_COOKIE['myuserid']) && isset($_COOKIE['myusername'])){ $_SESSION['myuserid'] = $_COOKIE['myuserid']; $_SESSION['myusername'] = $_COOKIE['myusername']; } if (!isset($_SESSION['myuserid'])) { header("Location: login.php"); }[/CODE] This will set the cookie for 10hours. Also sending the password …

Member Avatar for glycerine
0
619
Member Avatar for hapizi84

Also check the permissions on the files and folders on you site. ideally you want the permissions to be 0644 on files and 0755 on folders.

Member Avatar for glycerine
0
272
Member Avatar for fawkman

FYI i started off by making my own cms also then went on to view other ones and modify them to my needs. Currently i am using this one [url]www.php-login-script.com[/url] and am having lots of fun playing around with it.

Member Avatar for glycerine
0
113
Member Avatar for guruvarman
Member Avatar for glycerine

I have the following update code but i keep getting a syntax error. You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE order_id='105'' at line 21 [CODE]mysql_query("UPDATE status SET id = '". $_POST['id'] …

Member Avatar for Will Gresham
1
179
Member Avatar for scias23

Try this [CODE]$sql = "INSERT INTO login (studNo, userName, password, dateRegistered) VALUES ($studNo, $user, $pass , NOW())"; $sql2 = "INSERT INTO users (studNo, lastName, firstName, gender, bMonth, bDay, bYear, address, cellNo, email) VALUES ($studNo, $lName, $fName, $gender, $month, $day, $year, $address, $phone, $email)"; if(mysql_num_rows(@mysql_query("SELECT * FROM classlist WHERE num = …

Member Avatar for liamfriel
0
249
Member Avatar for InsaneVr6

Shouldn't the delete.php page also be getting the $id eg. [CODE]$_GET['id'] = $id;[/CODE]

Member Avatar for InsaneVr6
0
112
Member Avatar for nadnakinam

I use the following in my code to search and paginate the results. [CODE]/* Setup vars for query. */ $targetpage = "search.php";//your file name (the name of this file) $limit = 25; //how many items to show per page $page = $_GET['paginate']; if($page) $start = ($page - 1) * $limit;//first …

Member Avatar for glycerine
0
127
Member Avatar for glycerine

Firstly what a great forum and site alot of the threads on here have helped me over the past couple of months create and update alot of sites. So here is my problem, I have a importer which imports a feed (csv file) from a supplier (no problem importing it) …

Member Avatar for glycerine
0
122

The End.