Posts
 
Reputation
Joined
Last Seen
Ranked #2K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
12
Posts with Upvotes
12
Upvoting Members
9
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
4 Commented Posts
Member Avatar for Clanstrom

I am tring to make a search script, but I have no idea how and would appreaciate if anyone could give me samples or websites. thanks

Member Avatar for timetraveller1992
0
413
Member Avatar for muhammad.waleed.9699

i try my best but fail,,, department.php <?php session_start(); ?> <!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> <title>Untitled Page</title> </head> <body><pre> <?php echo $_SESSION['userid'] ?> has Logged In <a href="logout.php"><input type="button" name="Logout" value="Logout" style="width: 62px"/></a> </pre> <h2 align="center">Student Clearance Information</h2> <form action="students_clearance.php" method="post"> <table align="center"> <tr> …

Member Avatar for muhammad.waleed.9699
0
227
Member Avatar for lewashby

I have a Samsung Galaxy Tab. To my dissapointment it is unable to be mounted to Linux. I found a few website with instructions on how to mount it be so far they haven't worked. I'M really trying to get more and more away from Window$ but I'M finding it …

Member Avatar for ishkebibble
0
199
Member Avatar for manishp5

I am trying to insert my form's data radio buttons into my mysql database. it works very well but when i skip any one value of my radio button,as this is more than 20, its giving error that Notice: Undefined index: qr1 in C:\wamp\www\exam\contents\omr.php on line 134 Call Stack # …

Member Avatar for manishp5
0
5K
Member Avatar for bLuEmEzzy

Good day, Please help guys, I have records in which if I updated table1, I have to update table2. This is my code for update table1(which is proja) $sqlu = mysql_query("UPDATE proja SET pname= '$par', amunt = '$amt', janua = '$jan', febru = '$feb', march = '$mar', april = '$apr', …

Member Avatar for bLuEmEzzy
0
210
Member Avatar for moha_1990

<?php session_start(); if(isset($_SESSION['idAdmin'])){ include("config.php"); $id = $_SESSION['id']; $query = mysql_query("SELECT * FROM register WHERE id = '$id'") or die (mysql_error ()); ?> <!DOCTYPE html> <link rel="stylesheet" type="text/css" href="styles.css" /> <html lang="en"> <head> <title></title> <meta charset="utf-8"> <link rel="stylesheet" href="css/reset.css" type="text/css" media="all"> <link rel="stylesheet" href="css/layout.css" type="text/css" media="all"> <link rel="stylesheet" href="css/style.css" type="text/css" media="all"> …

Member Avatar for leviathan185
0
222
Member Avatar for jaysh4922

hi frnds..can you give some idea about php training.how to start in online or any institute

Member Avatar for jaysh4922
1
102
Member Avatar for PowerCheez

I have a small problem. I wrote this script to update the status of my list using a checkbox for each line I want updated. But I (beeing new to this whole thing) can't seem to get my button to do what I want it to do. <?php //ansluter till …

Member Avatar for PowerCheez
0
220
Member Avatar for harsha.netpem

Hello, I have created the login page and I have imported the excel sheet of 10000 email id’s with their password in mysql. I have created the Password by a script. So, I need to send the password to all users with welcome message and login link. So could you …

Member Avatar for pritaeas
0
155
Member Avatar for kumar.papneja

hi there. I created HTML and PHP file to filter web form data based on multiple drop down filters. Here goes the form. when i run the form and PHP, i don't see any results in the browser. There is no error either. I am working on a example posted …

Member Avatar for simplypixie
0
5K
Member Avatar for ashishrevar

How to write in CSV file using PHP script? Actually I was also searching for that too. It is kind of easy task with PHP. fputs(handler, content) - this function works efficiently for me. First you need to open the file in which you need to write content using fopen($CSVFileName, …

Member Avatar for leviathan185
-1
248
Member Avatar for jacob21

Hi, I am using below PHP script for insertion in mysql table from CSV file. Below code is working fine but i am trying to leave first row of CSV as it contains heading for data. need suggestions as it is reading from very first row. <?php //connect to the …

Member Avatar for leviathan185
0
2K
Member Avatar for LastMitch

Hi I'm just learning the date() function. I'm trying create a `Daylight Savings` I used `$todayDate = date("D-m-d-Y-T-a");` because I am going to run it that day. For example: `Daylight Savings is on Sunday, November 4, 2012, 2:00am.` My issue is that once I run the code my answer is …

Member Avatar for leviathan185
0
136
Member Avatar for scholarwithfire

Hello guys, is there any way to display variables from highest to lowest **without storing them into an array**? For example i got multiple variables *$numone = 500; $numtwo = 600; $ numthree = 700;* and i want to display it out base on their value. Any help is much …

Member Avatar for leviathan185
0
199
Member Avatar for patsfans

I have two tables that are the same. One stores info for the offense and a second for a defense. $sql = mysql_query("SELECT player FROM offense GROUP BY player UNION SELECT player FROM defense GROUP BY player"); while ($row = mysql_fetch_array($sql)) { $player = ($row['player']); echo "$player<br>"; } The problem …

Member Avatar for patsfans
0
219
Member Avatar for leviathan185

I am delving into trying to understanding how the MVC structure works. I am following a [tutorial](http://anantgarg.com/2009/03/13/write-your-own-php-mvc-framework-part-1/) and a little bit down the page where is is explaining the Controller class and how it initiates the Model and View there is some code there that does not quite look right …

Member Avatar for leviathan185
0
93
Member Avatar for benjamin.agumba2

Hello All, I will really appreciate it if someone can help me out with this. I am currently designing this website www.tasktigers.co.uk. The site seats well on my computer screen but not others or the site owner device. When you view it with a mobile device like the iPhone and …

Member Avatar for roscoesteib
0
102
Member Avatar for pranay1995

hi all below is my profile.php <?php $host="localhost"; $username="root"; $password=""; $db_name="spl"; $tbl_name="registration"; mysql_connect("$host", "$username", "$password")or die("cannot connect"); mysql_select_db("$db_name")or die("cannot select DB"); $Username = $_SESSION['Username']; $result3 = mysql_query("SELECT * FROM registration where Username='$Username'"); while($row3 = mysql_fetch_array($result3)) { $Name=$row3['Name']; $Age=$row3['Age']; $Mobilenumber=$row3['Mobilenumber']; $Address=$row3['Address']; $Username=$row3['Username']; $Password=$row3['Password']; } ?> <table width="398" border="0" align="center" cellpadding="0"> <tr> …

Member Avatar for Zagga
0
122
Member Avatar for Anonymous123

I have created a website with two webpages. One webpage has an html form that allows a potential employee to submit their name, phone number, preferred job, college major, and preferred hours (part time or full time). The information is appended and saved into a text file called applications.txt. The …

Member Avatar for leviathan185
0
161
Member Avatar for dhadha

this is just a simple code.My problem here is that I can't get or display subject loads of a teacher. $sql = mysql_query("SELECT * FROM teachersubject WHERE teacherID ='$id'"); while($test = mysql_fetch_array($sql)) { $subjectid=$test['subjectID']; $getsubject=mysql_query("SELECT * FROM subject WHERE subjectID='$subjectid'") or die(mysql_error()); $getthis=mysql_fetch_array($getsubject); echo "<option value=".$getthis['subjectID'].">".$test['subjectCode']."</option>"; } mysql_close($conn); ?> This …

Member Avatar for simplypixie
0
150
Member Avatar for <M/>

I wrote a php contact form but I can't figure out how to redirect a user to a different page... Here is my code: <?php if($_POST){ $name = $_POST['name']; //gets the entered name $email = $_POST['email']; //gets the entered email address $subject = $_POST['subject']; //gets the subject $message = $_POST['message']; …

Member Avatar for <M/>
0
3K
Member Avatar for Darshan5

I have Ubuntu 12.04 LTS. When I try su command, it asks password.. But when I type password, It says authentication failure.. Why does that happen?? I enter correct password every time.

Member Avatar for mike_2000_17
0
144
Member Avatar for andyy121

foreach($search_exploded as $search_each) { @$x++; if($x==1) @$construct .="keywords LIKE '%$search_each%'"; else $construct .="AND keywords LIKE '%$search_each%'"; } i just wont to understand this foreach ($search_exploded as $search_each) what is the meaning

Member Avatar for Bachu
-1
99
Member Avatar for firdousahmad

how could one login to the fedora 15 if he/she has forgot the password of both root and user

Member Avatar for mike_2000_17
0
132
Member Avatar for louie540

Hey. I have a website that is user submitted which has a repot button and the Google crawler keeps spamming that button. I am aware of robots.txt but it seems that nothing is working to stop Google from clicking it. So instead, I'd like to assign the link an ID …

Member Avatar for Igal-Incapsula
0
305
Member Avatar for GhuleVishal

I have installed php mysql and apache but when I run my php program browser ask me to download that file. but required output is not appear.

Member Avatar for broj1
0
160
Member Avatar for ratanji

i want to take the attendence of the students from database...if they once punch-in then i want to disable it upto clicking the punch-out button if browser 've been closed ! so how can i get it can pls anyone help me :) :))

Member Avatar for leviathan185
0
1K
Member Avatar for TMD

Ok I have a program that uses HTML to get some values from a user using a form and then it is passed into a javascript function that does some calculations with these numbers and creates a new variable name. What I need help with is that I want to …

Member Avatar for broj1
0
1K
Member Avatar for mmcdonald

Sorry people but I'm really struggling with this and I don't know why... but still. I have a stored unix timestamp. [a] I have the current timestamp not in unix format (YYYY-MM-DD HH:MM:SS) [b] I need to: 1) convert the current timestamp [b] into a unix timestamp 2) I need …

Member Avatar for leviathan185
0
270
Member Avatar for OmniX

I have tried to research this and im always running into old articles. What I have come across are (possibly more): md5, sha1, hash, crypt and mcrypt Now I have used md5/sha1 before and have 32/40 character long strings the others I dont know too much about but in short, …

Member Avatar for Stefano Mtangoo
2
2K