39,323 Topics

Member Avatar for
Member Avatar for ddwatkins

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 …

Member Avatar for ddwatkins
0
277
Member Avatar for niladri.user

Can u pls. tell me? how to create a web page with a session locking functio. & also with login & logout facilities?

Member Avatar for nav33n
0
286
Member Avatar for Morty222

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 …

Member Avatar for nav33n
0
121
Member Avatar for werks

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..

Member Avatar for werks
0
81
Member Avatar for Web_Student

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 …

Member Avatar for Web_Student
0
91
Member Avatar for dami06

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 …

Member Avatar for nav33n
0
648
Member Avatar for lordx78

[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 …

Member Avatar for nav33n
0
176
Member Avatar for drsmith

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 ( …

0
79
Member Avatar for amin007

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 …

Member Avatar for amin007
0
105
Member Avatar for Venom Rush

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'; …

Member Avatar for nav33n
0
579
Member Avatar for okonjiaustin

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.

Member Avatar for nav33n
0
136
Member Avatar for usc87bb

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 …

Member Avatar for nav33n
0
62
Member Avatar for carobee

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 …

Member Avatar for scottholmes
0
2K
Member Avatar for gopi kannan

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???

Member Avatar for gopi kannan
0
86
Member Avatar for niladri.user

<?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); ?>

Member Avatar for nav33n
0
44
Member Avatar for s1m0n3

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 …

Member Avatar for pritaeas
0
89
Member Avatar for dami06

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 …

Member Avatar for dami06
0
98
Member Avatar for niladri.user

<!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 …

Member Avatar for niladri.user
0
143
Member Avatar for ZenMartian

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 …

Member Avatar for johnsquibb
0
192
Member Avatar for happyhappy

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.

Member Avatar for happyhappy
0
107
Member Avatar for Yproc

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 …

Member Avatar for Yproc
0
66
Member Avatar for xceed

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]

Member Avatar for fenixZ
0
1K
Member Avatar for daplayer321

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 …

Member Avatar for Yproc
0
114
Member Avatar for dami06

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 …

Member Avatar for fenixZ
0
172
Member Avatar for lifeworks

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 …

Member Avatar for nav33n
0
56
Member Avatar for rickarro

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 …

Member Avatar for nav33n
0
143
Member Avatar for jino

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 …

Member Avatar for nav33n
0
137
Member Avatar for tirivamwe

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 …

Member Avatar for carobee
0
141
Member Avatar for lordx78

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 …

Member Avatar for johnsquibb
0
124
Member Avatar for Morty222

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'); …

Member Avatar for jonesc5
0
66

The End.