39,320 Topics
| |
Hi My problem is that I want Other textbox tobe deactivated when page loads, but when user selects Other drop down box of Company Certification: then Other textbox should be activated. [URL="http://www.oemxtrade.com/index.php?main_page=create_account"]Please see here [/URL] Here is the PHP code which is displaying this page [CODE] <?php echo "<select name=\"company_certification\">"; … | |
hello, i have used the following code for file upload: [CODE=php] $id=100; $upload_dir = "images/"; do { $photo = $_FILES['photo']; switch($photo['error']) { case UPLOAD_ERR_INI_SIZE: $err2 = "Server doesn't allow the image size.. Please select a smaller one.."; break 2; case UPLOAD_ERR_PARTIAL: $err2 = "The image was not transferred successfully.."; break … | |
How can i add condition for a particular blog in .htaccess | |
Hello all, I have a page that allows the user to update their account detail. The prblem is that when the page loads the users inforamtion doesn't appear in the text fields. I've checked the code and i cant see any errors nor does php flag any errors. Can someone … | |
hie.. I am developing an online application but want to make some pages of that for mobile too, so i want to know that using php can i do that ,or for that i have to move to asp.net? Need help urgently.. thanks.. | |
Hello all I am trying to do--Attendance of the month march and i want format for text file is like employeecode 1 2 3 4 5 6 7 8------30 E01 A P P P p P P P E02 -- -- -- I m using mysql database. My tables for … | |
a friend of mine have instaled apache in other machine and i have stored my php scripts in htdocs but i dont know how connect remotely from other computer please if someone can help me | |
The code should take the IDs and delete them from the tables but it isn't we are getting errors. Anyone see anything wrong? [code=php] <?php ############### # Prune.php # ############### //Variables $dbhost = "localhost"; //host name $dbuser = "root"; // username for db $dbname = "dbname"; // database name $dbpass … | |
Hey, In PHP and HTML i am trying to make a multi page registration form, collecting details such as Forename, Surname, password, and email on the first page. On the second address details, third any additional personal details. On the fourth a summary page showing what the user has entered … | |
I'm struggling. I'm trying to make a website using the google weather API. Here's where I'm at: 1) I've got the PHP code working, and it gets the current temperature & images showing the forecast for the next 4 days. Simple enough 2) I decided I wanted to have a … | |
Hello Everyone, I am banging my head since morning. please help me.. I am not so good at php..i am in learning phase... My requirement was to generate a popup once you immediately login. windows.alert('please call') then the popup should come for every 2 hrs. Even though you navigate to … | |
Hi, I am new in php.I want to use goto statement inside my program.But when i execute the below coding the blank page appears.This is the example program i referred in site. Coding: goto a; echo 'Foo'; a: echo 'Bar'; Help me.. Thanks :-O | |
Hi, I have code below works fine but I want links to be listed different way. If you want you can use my code, otherwise I am open for your codes. [COLOR="Red"]Original style: [/COLOR] Previous 1 | 2 | 3 | 4 | 5 | 6 | 7 Next If … | |
I am having issues with the following code of mysql when using the "not like" mysql command. My snippet looks like this [CODE]$name = something $sql = "Select * from table1 where table1.field1 not like ' $name ' ";[/CODE] What it should look like in phpmyadmin is [CODE]Select * from … | |
Hello, I am new on this website. I don't know rather I am in the right place or not. I am currently in college and study to be web developer. I am doing good so far! I really need help on this small part. We are working on Mulipulating Strings. … | |
Hi, I just installed Karmic Koala Ubuntu. I know that PHP4 (as CGI) and PHP5 (as module) can run at same time? There are some examples on the web but they are all old. I couldn't get around. Can anyone help me with this? I have LAMP already installed on … | |
hi! Please help me in mailing the form data using tables. below is my code $message = " $todayis [EST] \n Subject: $attn \n Message: $notes \n From: $visitor \n Designation : $designation \n Employee ID: $empid \n Department : $department \n Head Quarters: $hd \n Tour Location: $tl \n … | |
Hi, I would like to ask you about how I can write a php code for 301 Redirection and how I use it in my hosting ( where to code, where to upload and how to configure it) . Thanks. | |
Hello again. I'm looking for a way of displaying the results of a search facility on a site im creating. The site is based on an animal sanctury and the database holds two key tables for searching 'blog' and 'animals' respectivly. Now, how would i go about displaying the results … | |
I accidentally added the following line to my SQL database twice: [CODE]INSERT INTO phpbb_config (config_name, config_value) VALUES ('allow_birthdays_ahead', '7');[/CODE] How do I remove one of them? | |
| |
Am currently working on a PHP project..and am stuck with the calculation part and sending the results to my database table, am dealing with checkbox and my task is to allow members to tick all the suitable times and then to send each column to their table in my database … | |
| Anybody know how to do the following: id (PK/autoincrement) file_id (FK/int) - same file id pops up loads of times statement (varchar) - just some text from the file status (tinyint 0/1/2) - depending on the statement = 0 or 1 or 2 into a single record for each file_id, … |
I have a page that is under SSL. However, in IE6, I get a notification: "This page contains both secure and non-secure items" etc. I've looked at all the HTTP requests for that page in both Firebug and Wireshark, and none of it seems to be sent over plain HTTP, … | |
hi first of all i want to create a linking with two tables in database: 1 table : id,name 1 nick 2 john 3 michael 2 table (i want to use this table for dropdown list) id,job 1 engineer 2 scientist 3 coder how can i link them both? the … | |
Hi all I just want to know if this is possible with php? Basically what I want is to have a user upload an image. Two thumbs are created from this image, one with the original colours and one that's greyscale. I then want to take these two images and … | |
Specification: I wrote most of the code separately but seems am having difficulties linking it to my database: Write a simple E-commerce application, which may be a bookshop, music shop, clothes store, or anything else you wish. There should be a “user” interface to allow customers to select and purchase … | |
hey i am trying to execute a query statement here is my code below [CODE] $sel="SELECT course_name,course_code FROM courses WHERE course_name='$diff'"; if ($result2=mysql_query($sel)) {echo"nice"; } else { echo "shit"; } while ($row2 = mysql_fetch_row($result2)) { echo"row[0] : row[1] <br>"; }[/CODE] please note that the $diff variable is an array while … | |
hello.... i am doing search concept. i am searching one word from all my web pages . actually i have only one table for 25 static pages. among this pages i want to search searching content. and also highlight the search content. how to do? |
The End.