39,323 Topics
| |
hi guys... i wanna select a single cell (not full row) from one MySQL table and insert the value into another table. The datatype of the (value being extracted) and the (column of insertion) are the same. somebody pls help... | |
Hi all, Im very new to php. Currently im creating an online exam system which uses php and mysql as the database. I have registration and login page which works pretty fine. I had problem when it comes to question page. I have about 20 questions. As soon the user … | |
Does anybody know how to setup PHP on Tomcat 5.5? I found this tutorial [URL="http://blog.taragana.com/index.php/archive/running-php-5x-on-windows-using-tomcat-4x-or-5x/"] http://blog.taragana.com/index.php/archive/running-php-5x-on-windows-using-tomcat-4x-or-5x/ [/URL] but i can't get it work. Can somebody help? Thank you | |
Hi.....is this code right......... [code=php]<html> <head><title>auto alto system</title></head> <body> <table> <tr> <td> category</td> <td><select name="category"> <option value="sercategory">service category</option> <option value="servicetype">service type</option> <option value="services">services</option> </select></td> </tr> </table> <?php include 'database.php'; $result = mysql_query("SELECT * FROM service_category "); while($row = mysql_fetch_array($result)) { echo $row['servicec']; echo "<br />"; } if($_POST['category'] == "servicetype") { … | |
i've heard rumors said that phpbb is not safe and it's easy to hack? | |
I am developing a form for a birdbreeders club. With this form people can order rings. On the page [url]http://www.info-sec.nl/bodyringenbestelling.htm[/url] there are two forms. The second form people can place an order. There are 10 rows, but normally people do not use all 10. How can I prevent that also … | |
Please am new to web application development. Can anyone help me out, am trying to specify 2 different folders for picture and video upload and would like the link to those files stored on mysql databaes. The html code i used for video and picture upload are: [code] <form action="<?php … | |
Hi all, am a web developer with average PHP skills and I need some help for you guys. I have a table online that has data and a link in one of he columns: i.e. after a reader performs a search, he has the option to download a file. Files … | |
Hi all, Can i know how to do the checkbox validation........ i used the code below but its not validating..... [code]var val; for(i=0;i<3;i++) { if(form2.elements['contype[]'][i].checked) val=1; } if(val==0) { alert("Select type of your Contract") return false; }[/code] | |
I want to code like this but I am limited the Problem is I dont want to brint the If statement out of the heredoc what is the solution [code]echo<<<ENDSTRING <div> if($i==2) $i is 2 </div> <div class='ProDividerA'></div> ENDSTRING;[/code] thanks Pedram | |
Hi all, Instead of passing the variables to the other page and coding mysql queries there.. Is it possible that we can use the mysql(DELETE...) query within the anchor tags in the same page? <a href >... to delete a particular row in mysql table? Like having a link called … | |
Hello, I have the following code, with 6 rows in the database for my query, although the mysql_fetch_row function is only able to get 5 out in my web page. I'm not sure what is wrong with my code, here it is: [CODE] $connection = mysql_connect("my server", "user", "pass") or … | |
Hi. This is a piece of code that I wrote for a one of my modules in Joomla 1.5, and im afraid im not skilled enough yet to do this procedure in the correct way.. Please can someone help me structure this code in the right way - the actual … | |
[B]is it possible to submit a page without using a form[/B] | |
hai all, in the parent window by clicking an anchor tag i am showing some data's fetching from the database in an iframe using get method.when we pass through the get method the datas may be hacked by the attacker.So how i can submit the iframe file from the parent … | |
I'm making a virtual pets script. Example of problem: User 1 creates a pet named "PET". User 2 creates a pet named "PET". Should be: User 1 creates a pet named "PET". User 2 creates a pet named "PET" but gets an error saying that the name is already taken. … | |
I have a php-based form mailer tied to a rather lengthy service order form, and was wondering if there was any effective way to manage the output from the form mailer so it's all laid out in an easy-to-read structure, like a table, perhaps? If I need to clarify at … | |
Hi. I have two forms with the following names and properties: 1. register.php --- ----- action="register-exec.php" --- method="POST" 2. register-exec.php --- action="register-exec.php" --- method="POST" After submitting the register.php, I used session in register-exec.php to store the value of the register.php for later use as follow: [CODE]session_start(); $_SESSION['bookTitle'] = $_POST['txtBookTitle']; $_SESSION['bookInfo'] … | |
s12HCharges Summary For the Mobile Service No 0712069069 (Mr. . .) of Account 1863480 _________________________________________________________________________________ Service Package Description : Corporate package for 750 CommBill No : 7810912 (s0B &d#DCall charges &d@ Outgoing Calls - 750SP-1 25/04 - 24/05 931.00 (s3B TOTAL CALL CHARGES ...................... 931.00 (s0B &d#DValue added services usage … | |
Hello All, I want to convert my all PDF data into HTML format using PHP script.so, anybody can help me to do that? | |
Hi, Im having trouble getting this piece of code to function correctly. It inserts the data fine, and all works well, but I cant seem to make it only insert if there isnt already an entry with the same $text. What I want it to do is this: Insert the … | |
Hi all, i tried this code but its giving error fatal error: Call to undefined function equals() in D:\xampp\htdocs\demo\contractor_new.php on line 152 [code=php]<?php include 'database.php'; if(category.equals("sercategory")) { $result = mysql_query("SELECT * FROM service_category "); while($row = mysql_fetch_array($result)) { echo $row['servicec']; echo "<br />"; } } else { echo 'error'; } … | |
I have started a new website and I know basic HTML but I am clueless with PHP. I need to set up a login system where members can save their info on the site. I need to learn PHP, cookies, and a login system. Thanks. | |
I have been working on a php login system which is basically finished but needs one thing cleaning up. When the session is created/registered, a cookie is created. And according to firefox, the cookie will expire when the session ends. However, the session ends (according the the rest of my … | |
This is the best forum I have seen on the internet (and would liek to have something similar down the track) but for the mean time... Is there a possible tutorial on how to make the most simplest workable forum? Then slowly implement upgrades and features in time? Thanks, Regards … | |
Hi folks, I have a small Paging problem, was wondering if anyone could help me out with. I have a blog that I need to page after a set number of blogs. The Next and Previous links work fine and so does the Page number Nav. However, my page number … | |
Hello All, I have this strange problem .. I am using require function twice in a single program to call two different programs.Each one of them has their own database connections. The page doesnot execute completely untill I hit refresh.:-/ It works as if those functions are executing one-after-the-other while … | |
hi everyone.. I honestly don't know if this should be in the php forum section but here it goes. I am trying to create a fansite for a band and i would like to have all of their lyrics on my site. I do not want to create a new … | |
My isp web server is separated into ‘www’, which parses php, html, etc; and ‘private’ which does not parse. What are the practical limitations of placing files in the private section. I am setting up a content management system for off campus work. Anyone know of a decent tutorial or … |
The End.