38,023 Topics

Member Avatar for
Member Avatar for sugikrish

hi.... I want populate combo box based on another combobox selection in php. for eg: If we select 'tamilnadu' in one combobox then tamilnadu district are displayed in another combobox. If you know send that coding. Thanks in advance

Member Avatar for Daiva
0
76
Member Avatar for sami.asanga

Hi, Can anyone tel me how to get values from the database to work with mail to function?? I mean rather than giving like mailto:xxxxx@xx.com ,I want to take email ids from the database.How should I do it? I did like this.. <a href = "mailto : $row['sup_email']."></a> But its …

Member Avatar for Razer_Thomas
0
129
Member Avatar for zeuz

Hi everyone My intention is to enable NTLM authentification when using the native PHP SOAP client, Most of the code is copied from an php.net manual example and it is said to be working. I'm trying to override the __doRequest function in the SoapClient class and let it use cURL. …

0
136
Member Avatar for designershiv

HI All I am relatively new to PHP and am in the processing of developing a site making use of PHP and MySQL. The problem I am experiencing is that when I refresh Internet Explorer, the data that was processed by a form is resubmitted to the database - can …

Member Avatar for designershiv
0
103
Member Avatar for ceeandcee

Good Evening, I have a table that has a field with 15 entrys in it. I would like to output it from a query in a table that has 3 rows of 5. However, whenever I put a <tr> inside the loop, I get 15 rows. Any idea how I …

Member Avatar for ceeandcee
0
121
Member Avatar for ello

Hey, just a quick question about the following code: [CODE] <input name='name' type='text' class='form' value='<?php echo "" . (isset($_REQUEST['name'])) ? dataClean(ex_clean($_REQUEST['name'])) : FALSE . "";?>' size="40" rows='5' /> [/CODE] Now, if the user has errors in the form details and clicks submit, the page refreshes and it displays what errors …

Member Avatar for ello
0
118
Member Avatar for keavon

Ok, it's really weird. When I test the to see the two variables which will make up the email address <?php $carrier = $_POST['carrier']; $number1 = $_POST['number1']; $number2 = $_POST['number2']; $number3 = $_POST['number3']; $number = $number1.$number2.$number3; $pin = rand(1, 9).rand(0, 9).rand(0, 9); $code = $pin; if($carrier == 1){ $displaycarrier = …

Member Avatar for keavon
0
502
Member Avatar for Dani

What are the differences between Zend PHP Studio and Eclipse for PHP Developers? Why pay for Zend Studio when Eclipse is free?

Member Avatar for fatihpiristine
0
133
Member Avatar for chocopaste

This may be impossible, but I thought I'd give it a shot. I'm using PDO to fetch data from the DB, and use the PDO::FETCH_INTO approach to populate an existing Object (think ORM). What I'm wondering is if I can turn an object into an array of objects of the …

0
51
Member Avatar for awestove

I am trying to create a file upload form on a website and am getting the error: Notice: Undefined index: My code is: [CODE=php] <?php session_start(); if (isset($_GET['submitted'])){ print_r($_FILES); $displayName = $_GET['displayName']; //file name is name of user who uploaded-date-time ie awestove-20100901-0800 $fileName = $_GET['username']."-".date('Ymd-Hi'); $origFileName = $_FILES['fileChooser']['name']; $ext = …

Member Avatar for awestove
0
122
Member Avatar for priyam1309

I am trying to send mail for "Tell a friend" link in my website. I am using Gmail's SMTP Connection settings as Mail() is not working properly for my web host. In the code i am giving my username & password so send mail via my mailbox. But is it …

Member Avatar for svilla
0
139
Member Avatar for gidireich

Hi all, I'm a C developer, familiar Java, C++, C# . I'm into PHP now. Trying to find a good material, I read several which served PHP in do-this-do-that manner. I'm looking for a good book about PHP as a programming language. I mean, for example, really explaining the typing …

Member Avatar for Ezzaral
0
53
Member Avatar for sumit3gupta

I exactly want to integrate a GPS API that can work when the website is opened from a mobile, and we can get the latitude and longitude of a place by using that API which can taken as a input from user of that place where he is ???……!!! Anybody …

0
63
Member Avatar for ivan3510

Hi! Sorry for my bad english. I have one video. I want to make page that will display this video (like youtube), but I don't know how. In youtube there is a original page with video (I think, made with 'header(Content:application/x-shockwave-flash objekt)'). I want to make that too. But I …

Member Avatar for ivan3510
0
202
Member Avatar for ello

Hi, the problem i'm having is with the following code. When the user clicks the submit button with any errors it displays the section I've marked out. But it positions this at the very top of my form, pushing evverything down. Is there a way to get this error information …

Member Avatar for ello
0
96
Member Avatar for jtdbidirect

This is a keyword search script for one table only (pages). i need this search on 2 tables (pages and services) with one result set at the end to echo to the page. Can anyone help me? I have been trying to find a solution for 2 days - it …

Member Avatar for jtdbidirect
0
142
Member Avatar for andydeans

Hi, Is there any scripts that would logout a user if they were already logged in with that username and password? many thanks

Member Avatar for Stefano Mtangoo
0
85
Member Avatar for dandixon

I need to select customer column my database and then insert this into a session so i can use it in the other pages of my site but nothing im doing seems to work, any ideas [CODE] <?php session_start(); include("Connections/database.php"); ?> <?php /** * Checks whether or not the given …

Member Avatar for pzuurveen
0
154
Member Avatar for rje7

I am trying to split up the registration form into two php pages. Is it possible for the second page to submit its form along with the $_post which contains the information from the first page? well the question should be.. is there a function in php which will bind …

Member Avatar for rje7
0
122
Member Avatar for mCmAl

I have a blog,where I post a lot of songs,and I'd love if somebody could help me implement some sort of script in my blog. Is it possible,that whenever I want to post a zippyshare link,the script automatically converts it into a embedded media player? This is some source code …

0
67
Member Avatar for wangome

i have been building a web site of late but the login page has given me hectic coz it s giving me an error which i dont understand please help me with the correct codes am using dream weaver and wamp server. will highly appreciate.

Member Avatar for peter_budo
0
99
Member Avatar for gchurch

hey well i have a drop down menu or four that collects the day, month, year and number of nights spent over. i'm havin difficulty caluclating the departure date with all this info. can anyone help me???

Member Avatar for gchurch
0
85
Member Avatar for gchurch

is it possible to use a vaiable within the date() insted of using y-m-d. i want to use $day-$month-$year

Member Avatar for gchurch
0
112
Member Avatar for JBLDW

I have the following code section that is used for displaying a list of items and would like to modify it so it displays as a multi column display. I have been told that I need to use a counter, but I cannot find any information on how to do …

Member Avatar for JBLDW
0
172
Member Avatar for captain.don

I want to create a php web page to uload a file on web site.I want, when a user browse the file and click upload then the file should upload on web site and the script will generate the encoded url to download the uploaded file, or any other way …

0
84
Member Avatar for sami.asanga

Hi, I need to get the itemId's from the Database to a combo box where the combo box will increase according to the new values. I wrote a code like this [code] <select name="catId"> <?php //get category id from the database $sql = "SELECT cat_id FROM tbl_category ORDER BY cat_id"; …

Member Avatar for metalix
0
617
Member Avatar for arthurav

I use a couple of functions to which I have to pass the name of the mysqli connection in order to fetch some data. Is it safe to use a global variable for the mysqli connection to skip passing the connection name to the functions?

Member Avatar for FlashCreations
0
105
Member Avatar for ckant_kol2006

I want to upload and store images in MySQL database, but have no idea. Please help me out? Thank you

Member Avatar for FlashCreations
0
337
Member Avatar for mindboggler2010

Hi, I just want to share this function to you that can split an array and return it and formatted as: 'element1','element2' etc. This is useful in your WHERE clause particulary if you are using IN e.g. select id, lastname, firstname from farmers_table where id in ([B]'3408', '1223'[/B]); The BOLD …

Member Avatar for mindboggler2010
0
107
Member Avatar for sami.asanga

Having a problem with updating a picture.I need to replace the current picture in the DB by allowing the users to browse a picture and uploading it.And if the user did not upload any image I need to keep the current picture as it is. I wrote something like this,but …

Member Avatar for Daiva
0
99

The End.