39,323 Topics

Member Avatar for
Member Avatar for akshit

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

Member Avatar for digital-ether
0
188
Member Avatar for confusedofphp

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 …

Member Avatar for somedude3488
0
117
Member Avatar for peter_budo

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

Member Avatar for gauravgarden
0
181
Member Avatar for ishlux

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") { …

Member Avatar for ishlux
0
82
Member Avatar for CAPSLOCK
Member Avatar for einfoway
0
1K
Member Avatar for johnvanderjagt

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 …

Member Avatar for Shanti C
0
66
Member Avatar for ibrahimssani

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 …

Member Avatar for ibrahimssani
0
93
Member Avatar for marsh4u

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 …

Member Avatar for marsh4u
0
106
Member Avatar for ishlux

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]

Member Avatar for vicky_rawat
0
84
Member Avatar for pedramphp

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

Member Avatar for R0bb0b
0
108
Member Avatar for Kavitha Butchi

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 …

Member Avatar for Kavitha Butchi
0
536
Member Avatar for adaykin

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 …

Member Avatar for antwan1986
0
228
Member Avatar for chriscapetown

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 …

Member Avatar for digital-ether
0
209
Member Avatar for php_azar
Member Avatar for php_azar

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 …

Member Avatar for R0bb0b
0
50
Member Avatar for grr

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

Member Avatar for grr
0
88
Member Avatar for devin.lawks

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 …

Member Avatar for antwan1986
0
127
Member Avatar for tanha

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

Member Avatar for tanha
0
114
Member Avatar for nilantha_php

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 …

0
64
Member Avatar for kuldeep04

Hello All, I want to convert my all PDF data into HTML format using PHP script.so, anybody can help me to do that?

0
95
Member Avatar for chriscapetown

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 …

0
60
Member Avatar for ishlux

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

Member Avatar for ishlux
0
127
Member Avatar for Rockout101

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.

Member Avatar for cwarn23
0
99
Member Avatar for cwarn23

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 …

Member Avatar for nav33n
0
6K
Member Avatar for OmniX

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 …

Member Avatar for Shanti C
0
58
Member Avatar for Besherek

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 …

Member Avatar for Besherek
0
332
Member Avatar for Kavitha Butchi

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 …

Member Avatar for Kavitha Butchi
0
140
Member Avatar for shadowrider
Member Avatar for PatMcCrackIt

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 …

Member Avatar for nav33n
0
243
Member Avatar for 1andyw

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 …

Member Avatar for alphaseinor
0
164

The End.