39,402 Topics
![]() | |
Greetings, I have the following code [CODE] <? include("conn.php"); $sn=$_GET["sn"]; $sql="select * from kpi where no='$sn'"; $result=mysql_query($sql,$connection) or die(mysql_error()); while($row=mysql_fetch_array($result)) { $sn=$row['id']; $no=$row['no']; $pdetails=$row['pdetails']; $kpistatus=$row['kpistatus']; $status=$row['status']; $cols=$row['cols']; $rows=$row['rows']; } ?> <form name="form1" method="post" action="formsubmit.php?mode=addtable"> <table width="100%" border="1" align="center" cellpadding="2" cellspacing="2"> <tr> <td colspan="2"><strong>Add Table</strong></td> </td> </tr> <tr> <td>NO</td> <td><input name="no" … | |
Hello all, greetings! I'm setting Phpbb3 forum and I need the sidebar of my website to have dedicated <div> for hottest topics on the forum. How do I do that? Which phpbb3 file stores such information. NB: I'm very new to PHP Thanks all! | |
Hey, Right now I'm working on a login system for my site. The user enters their info, the info is sent to the php page through ajax, the php checks if the input fields are empty and checks if the info is correct. If fields are empty or the info … | |
hi guys, somebody help me please i need to know how to retain any input on page reload. I have 2 chained combo box (province and city) when a user choose a province, the next combobox should be populated. I use a script that reload the form to execute a … | |
Am trying to setup the cron jobs to send mails automatically to the users. Am using below command but am getting error as below /bin/sh: line 1: /hsphere/shared/php4.4.4/bin/php-cli/home/bizallia/public_html/admin/cron.php: No such file or directory Could anyone know the solution? | |
i have set up a mysql db for storing news articles to be displayed within a flash website. i have now been asked if i could add an image upload function to this section. i have created the upload page and i can upload the images to the db fine. … | |
Hello, all: I have a general question on SEO and database-driven site integration... I am starting to convert a company site from static, to dynamic driven site (php/mysql) with a basic admin section, so that owner can make changes himself thru the browser. I have read about issues related to … | |
is there any possibility to access server php ini file ??? if i enable to get work asp tags in php ,but it is not working in server... how do this possible??? thanks shanti | |
Hi, How do i define the hard drive in [inlinecode]header('Content-Disposition: attachment; filename=......[/inlinecode] Something like this [inlinecode]header('Content-Disposition: attachment; filename=C:\MyFolder\file.jpeg); [/inlinecode] Thanks | |
Hello All, As plain as the question is: I'm compltely newbie in PHP but in near future I plan to study PHP. I now Learn Python and need to Get acquanted with PHP as well as C++. My Question is, IS THERE ANY FREE BUT LEGAL Books ready for download … | |
I have created a page with a number of frames. One of the frames has a form with a submit button. On submit, I want to close the entire page (ALL the frames) and open the new page in a fresh window. How do I do that? | |
Hello daniweb guys Can anyone provide me [url]www.superrichjesus.com[/url] script. I need it urgently for my working purpose. Or can you tell me where i can find it? thank you. | |
Hi Friend, I want to develop a web page which will show the search result for flights from source and to destination. I do not know how to access the individual airlines company access their details for the above particular search. Do they provide any service for this? If then … ![]() | |
hi all, i want a image gallery script like [URL="http://www.itasveer.com/doodlepad.do"]this one[/URL] using php or javascript or ajax does any please refer me to the site where i can get the script or i am ready to pay for the script too thank u in advance ![]() | |
How can I have a switch command send to a ftp site? Here is what I have. Instead of $to_email is there one for URL? Thanks everyone. Erich switch($attn1) { case 'employees': $to_email = "ftp://myftpsite@rgl-e.com"; break; ![]() | |
Here is my scenario: Users opens IE and home page loads based on our group policy in that page I need the following to happen: 1) creates a cookie with an expiration date of 30 days 2) checks to see if cookie is set, if it is set and its … | |
Hi, I'm hoping someone can give me some advice or guidance. I am using Developer Toolbox (yes I'm still trying to learn php) Right now I have an index page with 7 set links on it. Basically, a user logs in, and is brought to this index. Based on what … | |
Hi.. I am creating one table has huge data. creating one input text & search button. when put some string i.e. anything we want as input in text field [COLOR="Green"]when click on search button..... [/COLOR] [B]I want to show that the content match with string the rows in database are … | |
Hey everybody, I've been working with PHP for a few months now and have come pretty far... and am starting some pretty big projects using Object-Oriented PHP design patterns. I've learned a bit about the Model-View-Controller and decided to sort of make it with twist. Before I started implementing it … | |
I am trying to develop a ListMenus like this one [URL="http://www.felixonedst.com/test/dependents.php?"]http://www.felixonedst.com/test/dependents.php?[/URL] I have already my database running i am missing all the rest, PLEASE HELP ME GUYS THANK YOU | |
Good day everyone from beautiful California, I have been able to limit the number of listings showing per page ($per_page=10) [COLOR="red"]But how do I limit the number of pages so I do not have rows after rows of pages.[/COLOR] [B][COLOR="Green"]The way it looks now:[/COLOR][/B] 1 | 2 | 3 | … | |
Guys, what would be the best way to create a Dynamic Drop Down Menu with a parent List and child's list, please help on this one | |
Hi, I am trying to create id card with picture and some personal information. It should use either barcode or black stripe behind the card. How can use PHP to produce barcode or black stripe? Thanks | |
Hi. I don't know whether this is the right place asking this question or no. I want to know, is it possible to use PHP code into JAVA code? if yes how? | |
Hello, I found this class at phpclasses dot org. It retrieves emails from pop3/imap servers. It works wonderfully. But I would like to learn how it works. I emailed the author but did not receive any response. So I'm placing my questions on daniweb because I know how intelligent this … | |
Hi there, I'm trying to use a dynamic drop down box to populate some input fields.. So far I can make the drop down box populate correctly. I can also link the input fields to an id in my table, however I'm not sure how to link that id with … | |
Hi! Can anybody please explain this- [code="php"] <?php $num=5; echo($num.++$num); echo("<br />".$num); ?> [/code] prints: 66 6 while [code="php"] <?php $num=5; echo($num++.++$num); echo("<br />".$num); ?> [/code] prints: 57 7 how exactly is the parsing done? | |
Hello all! I have a problem with my code. My server uses php4 and instead of upgrading and dealing with the crappy company I'm using, I decided to learn the basics of php4 and use it for now. My problem is when I try to transfer information from one page … ![]() | |
Hello, I have developed a PHP register page. However when i click on one of the text area to fill in the details, the form automatically resets itself. Can anyone help me out. Here is the code of that part. [ICODE]# <tr> # <td width="25%">Web site URL</td> # <td height="10"><input … | |
i want to upload a video file (mpeg, mpg, wmv) and wanted to display the first frame of the video as a thumbnail. so video will start to play in a enlarged mode when user clicks the thumbnail view of the video like the google videos. is it possible in … | |
Dear friends Hi ,I need coding for "Buttons like minimize and maxmize in a page." Please help me to solve this problem. Advance thanks Radhika | |
hello, im new here.. im a student and have a serious problem with my thesis... could anyone help me or direct me on how "to create an e-learning site in php" with a log-in page with a grading system.. any advise would really be helpful... thanks | |
hi when the user enter the data i tried it storing in the db and its working. the datas are getting stored as <p>This is some <strong>sample text</strong>. You are using</p> when i display i want to display in html format | |
hi, if i have a db: person> pID (not null, auto_increment), lastname, firstname phone>pID (not null), phoneNum, pID(foreign key points to "person") assume connection is established and pointing to the right database already////// //assume $ln and $fn have value for user input [code=sql]mysql_query("INSERT INTO person( ' ', '$_POST[$ln]', '$_POST[$fn]' )"); … | |
If I run this query in the PHP Admin it displays 2 records [code=php] SELECT staff.emp_no, staff.fName, staff.lName, event.event_date, event.timeStart, event.timeEnd, event.emp_no, event.agenda FROM staff, event WHERE staff.emp_no = event.emp_no AND event.emp_no =201 AND event.event_date = "27-01-2008" AND timeStart = "1020" [/code] The above query gives Results emp_no fName lName … | |
HI all , i have a list box(combo box) that contains 100 items and i need to send this whole list to another form (i.e i need to insert these options in the list in the DB ) the problem is sending a listbox to another form can be done … ![]() | |
I suppose this is easy for a lot of the people who are familiar with PHP/MySQL. I'm relatively new to the whole thing...so please bear with me. I have a single table entitled "events" with two fields. One field is the "date" field and the other is the "event" field. … | |
Hi, I will be attempting to learn PHP very shortly. I am going to create a MySQL database to hold records of students, especially attendance. I would like to know if it is possible to do the following with PHP.... [LIST=1] [*]Connect the database with PHP [*]Add new details to … | |
In my php file [code] echo "<script>alert('Username/password pair is invalid.Please try again.')</script>"; echo"<script language='javascript'>window.location.href='login.php'</script>"; [/code] I am displaying message like this but when message is displayed background php design is blank and then again login page display. I want show message like [URL="http://www.bin-co.com/javascript/examples/print.php#"]http://www.bin-co.com/javascript/examples/print.php#[/URL] when we click on [U][B]Create Alert[/B][/U] message … | |
I have installed one free phpbb forum script recently and experience some issues with it! When for example I visit members page to see all the post made by the certain user Not Acceptable error is displayed as a result! The second issue I have is login procedure – a … | |
Can any body help me to design upload progress bar using Ajax and php. Please give me some url to follow | |
Hello, I have been setting up a photo upload feature for a website which allows members to upload photos. I am also after some advice on how large a file should be? I thought about allowing members to upload a photo up to 100,000 in size and allowing a maximum … | |
Hi ! Everyone... Acctaully I want to know what is theory apply for telebid.com about their time counter in home page. Can any one describe ? No. 2 - How can I send automatic email ? | |
hello there, this is my simple php code which inserts a row into the db. the problem is that it doesnt work 'nothing happens no row is being insert and i dont get any error. I have no idea whats wrong. hope to get any solution. thanks. db structure: Id … ![]() | |
hello friends how to make subscribe newsletter automated | |
Hi, In my webpage i created student details in that if i click view then i want to display all student name and their details one by one but in my code i typed everything but it displays first data only.Can anyone tell me how change this code. this my … | |
hi all, i am fetching recods from mysql in a combobox.but only one record display .... i want all record display in combobox ......................i write query below and need help how to sote fetch row in array i declered "$va[]" [CODE] <?php // echo "Connected MySql"; $res1 = mysql_query("SELECT gp … ![]() | |
Please any body help me to install APC(Alternative PHP Cache) in window or give me some url to follow. | |
I'm making a site for a guy, and he needs a way to email all his customers with a single form to save time and be more efficient. I got the compose page done. But in the past, from my experience, when I sent myself emails generated from sendmail, some … | |
Help Spent HOURS on this and cannot see the problem. It will display the country but not the number of clients that are within that country??? [code=php] <?php //Retrieve the "count" for the number of people in the specified country $country= $_POST['totalbycountry']; //Connect to the server...$connect will contain the connection … |
The End.