- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 12
- Posts with Upvotes
- 12
- Upvoting Members
- 9
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
Re:
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 |
|
Re:
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> … |
|
Re:
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 … |
|
Re:
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 # … |
|
Re:
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', … |
|
|
Re:
<?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"> … |
Re:
hi frnds..can you give some idea about php training.how to start in online or any institute |
|
Re:
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 … |
|
Re:
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 … |
|
Re:
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 … |
|
Re:
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, … |
|
Re:
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 … |
|
|
Re:
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 … |
Re:
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 … |
|
Re:
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 … |
|
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 … |
|
Re:
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 … |
|
Re:
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> … |
|
Re:
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 … |
|
Re:
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 … |
|
Re:
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']; … |
|
Re:
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. |
|
Re:
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 |
|
Re:
how could one login to the fedora 15 if he/she has forgot the password of both root and user |
|
Re:
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 … |
|
Re:
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. |
|
Re:
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 :) :)) |
|
Re:
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 … |
|
Re:
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 … |
|
Re:
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, … |