39,323 Topics
| |
I have a set of 2 drop downs. Once a selection is made in the first one, the second one popluates based on the first choice...I also have a a dynamic table on my page that works fine but shows every record from what ever recordset it is based on....here … | |
Can u pls. tell me? how to create a web page with a session locking functio. & also with login & logout facilities? | |
I am using the following query to pull categories from the DB then creating a select list. Can some tell me how to make the current value selected in the list when they open the category? <?php include("mysql.php"); $queryc = "select * from tbl_category WHERE active = 'yes' ORDER by … | |
Hi there programmers could you help me out. I need idea on how to create an Online Reservation of Books for a Library.. thank you in advance.. | |
Hello. I am trying to get the difference in time between two fields in the database. One is start_time and the other one is stop_time. They are in "0000-00-00 00:00:00" format. I want to do this in php/mysql. I already got the times pulling from the database, just need the … | |
I'm trying to create a webpage where by I have the questions in the database instead of it being hard code which is writing it down in php. How do i go about that. Just a simple page which will have a question and a blank box where the answer … | |
[code=php] <?php //ob_start(); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <title>Cycle Tracks Portal - Validation Page</title> <style type="text/css" media="all">@import "images/style.css"; </style> <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="rss/" /> <script language="javascript"> redirTime = "5000"; redirURL = "index.php"; function redirTimer() { self.setTimeout("self.location.href redirURL;",redirTime); } </script> </head> <body> <?php … | |
I am using FCKeditor for my Drupal website. For whatever reason, FCKeditor does not allow a file to be overwritten...it will rename it instead which is no good for static links. I have found some code I think is responsible for renaming and have commented it out. [code] while ( … | |
hi, my name is amin this is output array $_POST [code] Array ( [status_batch] => Array ( [1001] => Verify [1002] => Verify [2001] => Verify [2002] => Belum Batch [2003] => Belum Batch [2004] => Belum Batch [2005] => Belum Batch [2006] => Belum Batch [2007] => Belum Batch … | |
Hi everyone I have a csv file with data such as first name, surname, tel etc and I'd like to populate a table inside my MySQL database automatically. So far I have this but I keep getting an access denied error and I don't know why: [code=php]<?php $server = 'localhost'; … | |
I have successfully uploaded images into mysql database, but now I want to display the images alongside other row data in html page. Thanks for your previous help. Austin. | |
Hi, I am trying to output images in a table, and what I have is the filename for the picture in my database. My code works when I used a hard-coded test as the image name as I highlight below. So my question is how do I make it to … | |
how to destroy cookies when the browser is closed? i have a php script where initially the user logs in and then the subsequent pages are displayed.i want that if the user closes the browser in between n tries to re-open the same page, he gets the error message that … | |
iam new user of php...iam going to do a mini project in php-mysql... can anyone guide me with installation procedures of php and mysql..can i download them from web...i have debian os and windows xp in my system..which one suits better??and how can i run my php scripts??? | |
<?php $con=mysql_connect("localhost","root",""); if(!$con) { die("could not connect:".mysql_error($con)); } mysql_select_db("form",$con); $result=mysql_query("select * from submit"); while($row=mysql_fetch_array($result)) { echo $row['name']." ".$row['roll']; echo "<br/>"; } mysql_close($con); ?> | |
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/xxxxxx/public_html/xxxxxx/admin/index.php on line 34 This is a Login php page, each time an admin tries to login, it cannot proceed even the user/pass is correct and it give error as shown above. Please help. Thank you in Advance … | |
Hi, I'm trying to upload a some files to a webpage im trying to crete but its giving me an error once i click the upload button it gives me this type of error [B]Uploading information to the system from a file Student data is being uploaded. DATABASE ERRORExecuting SQL … | |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>Untitled Document</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body> <?php echo"Your posted name is\t".$_POST['name']; echo"Your posted roll is\t".$_POST['roll']; ?> <?php $con=mysql_connect("localhost","root",""); if(!$con) { die("could not connect:".mysql_error($con)); } mysql_select_db("form",$con); [COLOR="Red"]mysql_query("insert into submit values('$_POST['name']','$_POST['roll']')");[/COLOR] echo"1 record added"; mysql_close($con); ?> </body> </html> error is … | |
Ok, Folks.... Just trying to clean up some free php code I recently garnered :-) It came complete with a COMMENTS box, yet I really don't need it. Can anyone show me what needs to be deleted in order for the PHP form to continue working properly? I tried deleting … | |
Hi, I'm trying to connect to a MS Access database on a server in PHP without having to use ODBC does anyone have any idea or know how. Please help? Thank you. | |
Hello, Both Monster.com and HotJobs.com allow a user to upload an MS Word doc (resume) that their site converts to HTML automatically. The user doesn't have to do any conversion work themselves. I've found several scripts that will convert an MS Word file to [I]plain text[/I], but wasn't able to … | |
Hi guys look at this. [b][url]http://1.fabriconengineers.com/index.php[/url][/b] Look at the menu [url=http://img517.imageshack.us/my.php?image=beforenv8.jpg][img]http://img517.imageshack.us/img517/8615/beforenv8.th.jpg[/img][/url] [url=http://img248.imageshack.us/my.php?image=afterur5.jpg][img]http://img248.imageshack.us/img248/460/afterur5.th.jpg[/img][/url] after i add image in the menu it says = Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/fabricon/public_html/1/menu.php on line 97 How can i solve this??? Please help. Script Download Link. [code]http://rapidshare.com/files/90603607/yourownbux_base.zip.html[/code] | |
Can someone please alter the following code to include pagination, iv been doing this for 2 days but cant get it right. <?php session_start(); if (isset($_SESSION['username']) == false){ header("Location:login.php"); exit(); } require "connect.php"; $sortby = $_GET['var']; $query = "select * from form ORDER by $sortby"; $result = mysql_query($query, $connection) or … | |
Hi, I'm trying to create a separate usernames with the same login page using php and MySQL. I have tried adding different things to my login code for it to work but no progress. Basically i want to create something like this: A staff would be able to have a … | |
Hi I am trying to upload an entire directory to a server, using a script i found on the net... as a noob to php I've come unstuck on what I suspect is a basic bit of code... I need to specify a directory on my local pc as the … | |
I'm very new to php and am looking for help getting data out of my MYSQL database. I've made all my proper connections and all is running fine so far. What i want to do is have people get a result from the database based on their input...i.e., put in … | |
Dear All,, I need ur help regarding the below matter.... I had a form having 40 fields comming from 4 tables... I want to let the user to search a record using any of these 40 fields... For that i joined these tables using the "join" statement... Now the problem … | |
i have a website and it have a flash banner. the problem is that every time i open a link the banner will have to reload again. is there any way that i can use on my links so that when the link is clicked it will include a page … | |
I have 2 some pages in the website I'm developing. I've also an admin page. If i want to log in to the admin page, I've to key in username and password and it will be validated and redirect me to the admin's page. The problem is, if I manually … | |
I am building a search tool to allow users to search players by the following criteria: Last Name: Sport: Graduation Year: City: State: Gender: Here is my query after the post. $ln = $_POST['lastname']; $ps = $_POST['primarysport']; $yg = $_POST['yeargraduate']; $cy = $_POST['city']; $st = $_POST['state']; $gn = $_POST['gender']; include('admin/mysql.php'); … |
The End.