- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 16
- Posts with Upvotes
- 16
- Upvoting Members
- 5
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
I was 11, my father gave me a book on BASIC and I've been stuck in this digital world ever since.
- Interests
- soccer, chicago sports, sleeping, programming, blacking out
- PC Specs
- Dell all day
Re:
Note that this is on a Linux machine. I'M just starting to learn PHP and MySQL. I wrote the following php program that executes from an html form. Note that at this point the date from the html form is not being used to query the MySQL database. At this … |
|
Re:
Hello i have index.php file in root directory redirecting to a page. It's working perfect on my localhost but not the webserver. Also link to the root folder on the webserver lists files excluding the index.php Please i need help with this |
|
Re:
Hi I work on a 'play play server' on my pc, for lack of a real server, for this I use WampServer, I have recently updated my version. I suspect its running PHP5 - and Im used to PHP4 behaviour... Most of the pages I use forms on have the … |
|
Re:
I have an option to take an independent study next semester related to websites. I basically teach myself a programming language of my choice for the semester, and do a project for my professor at the end. He suggested either advanced java or php. I asked him which would help … |
|
Re:
I have a php wizard for an application that does the MySQL insert but it comes back with an error message, and I can't seem to figure out what. Any help is greatly appreciated. Insert Statement [CODE]CREATE TABLE `{dbprefix}permissions` ( `ID` bigint(20) unsigned zerofill NOT NULL AUTO_INCREMENT, `permKey` varchar(30) NOT … |
|
Re:
[B]i have create a login page and registration how can i view table from database to php output and to change password.[/B] [B]heres my login.php[/B] [CODE]<?php session_start(); $username= $_POST['username']; $password= $_POST['password']; $password=md5($password); if($username&&$password) { $connect=mysql_connect("localhost","root","") or die("Coldn't connect"); mysql_select_db("phplogin") or die("Couldn't find db"); $query=mysql_query("SELECT * from users WHERE username='$username'"); $numrows=mysql_num_rows($query); … |
|
Re:
can i check is there any wrong with this? it prompted me error in line 5 Parse error: syntax error, unexpected T_IF [CODE] <?php session_start() if (!(isset($_SESSION['email']) && $_SESSION['email'] != '')) { header ("Location: login.php"); } [/CODE] |
|
Re:
Hi.. This is my loginhome.php code i done with form fields validation..but im not getting the output.. please help me... [CODE] <?php //Include database connection details require_once('config.php'); if(isset($_POST['emp_role']) && !empty($_POST['emp_role'])){ $emp_role=$_POST['emp_role']; //Array to store validation errors $errmsg_arr = array(); //Validation error flag $errflag = false; //Function to sanitize values received … |
|
Re:
hi i m a beginner. m student of mcs n making a project. its about a brush manufacturing company. i have GUI of my software. and also database of it. but don't have any idea what to do next? can any1 guide me please. i m using wamp server. |
|
My program is a simple client database that holds information on tenants. Each tenant has a LONGBLOB column called 'notes' to hold updated information on them. For tenants that have a long list of notes, when the form is submitted the site actually goes to a 404, so their profile … |
|
Re:
i need a database connection for login for the different types for the form below. I got it done for single type [CODE]<form> <table border="0" width="300" height="180"> <tr><td colspan="2" height="20%"><b>Employee Login</b></td></tr> <tr><td height="20%">Type:</td><td> <select name="type"><option>Select One</option> <option>Doctor</option> <option>Nurse</option> <option>Accountant</option> <option>Security Officer</option> <option>Administrator</option></select></td></tr> <tr><td height="20%">Username:</td><td><input type="text" /></td></tr> <tr><td height="20%">Password:</td><td><input type="password" /></td></tr> … |
|
Re:
Hello everyone, I created a form for taking an order lunch.Everything works fine only i get an error on my php file on the array section. [COLOR="Red"]Notice: Undefined index: drink in lunch.php[/COLOR] I don't see i have missed anything, but i hope someone might be able to spot my mistake.Please … |
|
Re:
I'm trying to make a simple login page to grant access to my form pages. I don't want anything fancy, just a simple name and password match to grant access. What I have grants access no matter what is typed in, and I don't understand why. Any help would be … |
|
|
Re:
I am trying to code a comment system where I can leave comments on all pages. Every page has its own id. I would like a comment box where I can add and see other comments already posted. This is my code thus far: db table [CODE]`id` INT AUTO_INCREMENT, `page_id` … |
I'm having some trouble collecting data between 2 different years (ie: December 2011 & January 2012). This is a timeclock system where punches are stored as: DD-MM-YYYY (31-12-2011). I want to be able to search for dates between: DD-MM-2011 through DD-MM-2012 but am coming up empty. When using the same … |
|
|
Re:
Hello all, I am looking for help on how to code this: I would like to have a page where there is a box where registered users can type something then on pressing the button a new page is created displaying the text they entered and boxes for other people … |
Re:
Hi Guys, Hope you can help me with this little conundrum I'm having currently. My company has a dedicated windows server with heart internet and for means of database interaction, we've been forced to move one of our php sites to there. Everythings great and works fine - except the … |
|
Re:
I am using TinyMCE textarea. Which will be formatted text How I can insert that formatted text into table (database) as well as print value that I have inserted (formatted text) ? [CODE] mysql_query("insert into emailtemplates (name, messagebody, status) values('".$_POST['frmname']."', '".$_POST['content']."', $status)") [/CODE] [B]where $_POST['content'] is my textarea[/B] |
|
Re:
hi today i found out that our site is hacaked by pakcyberpyrates.They somehow edited my index.php and placed thier content.When i searched the net, thier are many site hacked by them for example SNIP. At present i have updated the index.php. Friends i need ur help to solve this problem. … |
|
Not sure if this is a PHP problem or IIS7 issue: My form is used for editing client information, and it has worked flawlessly for the last year until now. Some clients have more "Notes" about their file than others, and recently clients with a lot of "Notes" have been … |
|
Re:
I use the Xampp software. My computer is connected to voucher. I don't know how to send the email out on localhost! Any software is needed ? How to change the file "php.ini"? |
|
Re:
Pls I need help on this validation script. Even after logout and without login, I can access the assigned webpage. What might be wrong?? [CODE]<?php //Start session session_start(); //Check whether the session variable SESS_MEMBER_ID is present or not if(!isset($_SESSION['login']) xor (trim($_SESSION['login']) == '')) { header("location: login.php"); exit(); } ?>[/CODE] |
|
Re:
Hi Frendz, How to send free SMS to mobiles using php? I'm trying lot of codes but all is going to vein. |
|
Re:
Hello There Iam Sorry My problem Will take Time To Explain So Iam Sorry For That first thing that's my code in the index file [CODE]<?php $result = mysql_query("SELECT * FROM games"); while($row = mysql_fetch_array($result)) { echo "Game Name : <a href='GameDetails.php?id=$row[id]'>$row[name]</a><br/>"; echo "Genre : $row[genre]<br/>"; } ?>[/CODE] [COLOR="Red"]In The … |
|
Re:
Hello guys.. I have this website called jupiter.php. It's code ignitered. I want to put it in my friend's website called [url]www.planet.com[/url]. My website should be accessed like this: [url]www.planet.com/jupiter[/url]. Problem is, I don't know how to. Should I ask what programming language or web server my friend is using? … |
|
Re:
For the website I'm working on, I've included a "search the site" section. Once the user searches a keyword or a phrase, the php processes all the content in the mysql database and prints out the title, content and a link to the page with the article containing that specific … |
|
Re:
Hello I Need To Know how to Retrieve Random Data From A Table In Database i have a table called actiongames i need a code to retrieve random data from this table |
|
Re:
hi, i am looking at a way of integrating an email system where users can check their own email from within the system and email from it. basicaly within the cms they should have the ability to login to their pop3 email if possible. only problem is that the cms … |
|
Re:
when i try to access this login page..an empty page open...please help with this coding [CODE] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Latest</title> </head> <body> <?php include("db.php"); if (isset($_POST["submit"])) { $username=$_POST["username"]; $password=$_POST["password"]; $query="select * from latest where username='$username' && password='$password'"; … |
|
Re:
Hi i need to create a form in a .html file myteamform.html, then take the data entered into the form and process it in a .php file "roster.php" which takes the data and adds it another.html page team_roster.html. I have my form done, my problem is how do you add … |