39,323 Topics
| |
I have an html form that has 10 text field for trhe user too enter dates into. When the user clicks the submit button each text field should be added as a new record to a mysql table. The way I have it now if only 2 are filled in, … | |
Hi All, we have built web site in PHP, Mysql Database and Apache web server. Site is running fine on localhost(Window) but when we try to deploy it on our test environment (ubuntu 12.04.2 platform) .htaccess is not working. I am not getting any error like 500 Internal server error … | |
Dear Friends, I wants to know something. Imaging there are two Text Boxes call, X & Y(Retrieving data from database). When user select one value in X, i wants to display a values of X in Y according to the database without loading page (using ajax) How to I do … | |
i want change one word from some of the same words with respect to the position of (the first second or third) example : $string = "He had had to have had it."; echo preg_replace('/had/', 'SSS', $string, 1); output : He SSS had to have had it. i want -->: … | |
How to create website when you click the product gallery will appears a special url for such product. The problem is the product is customizable. | |
This is kinda relate to my other question...but anyway long story short. I am looking into a way that I can insert a well structured paragraph into the mysql and then display it on the web later on. I have the textarea and the text can insert into the mysql … | |
my've got problem like this A PHP Error was encountered Severity: Warning Message: escapeshellarg has been disabled for security reasons Filename: libraries/Upload.php Line Number: 1066 I've tried looking for solutions and one of them by adding @ the library upload.php on a tag escapeshellarg @ escapeshellarg, problem solved but the … | |
Hi All, How can we set a value to iframe textbox element either in JS/Jquery <head> <script type="text/javascript"> function load() { alert("Frame is loaded"); myframe.document.getElementById("user_email").value = "<?php echo $var ?>"; } </script> </head> <body> <iframe onload="load()" id="myframe" name="myframe" src="http://www.gigpayrr.com/signup" width="700px" height="600px"> <p>Your browser does not support iframes.</p> </iframe> </body> | |
Hi everyone and thanks for reading! I use JavaScript to create sets of text boxes on the fly. I also have a hidden counter in a text box on the form which I also post to my PHP script. This hidden counter is how I tell PHP how many text … | |
Hello guys, Neeed urgent help. I am working in wordpress. I need to merge commnets of two or more post in a single thread. Please do help. Thanks in advance. Jack | |
Please tell me if Amazon Payment Gateway Module code for Magento is available or not.Like Paypal Module code is available. i want to check its observer and model file etc. | |
I am sending email with attachments.. but I did not getting any extention in the email.. all the attachments having name **noname** without extention, if I attach mutiple files then the attachmment also have only one file named **noname** without extention too.. <?php if(isset($_POST['send'])) { include('db.php'); $strTo = $_POST["email"]; $strSubject … | |
hello friend i have two table studentlogin and seconed studentinfo i want that when student login i like to select rollno from student login table in student login there is four field sloginid, rollno, username and password now when rollno fetched succesfully from studentlogin table i like to fetch s_id … | |
what i am trying to do is permit the user to claim or reserve a spot with coord my table has 4 feilds id ,continent,coord,nom id is primary key what i am trying to do first i check if the coord already exist if they dont i update the database … | |
Hi, my problem is that I can't insert the value of $branch to my database, because it returns a null value. I'm still new to PHP and only started using it a couple of days ago, I still don't get much of the functions. Here's my whole code: <?php session_start(); … | |
The requested URL /PhpProject1/index.php was not found on this server. this is the error when i am trying to execute an index.php file in netbeans IDE......plz help me... | |
Can anyone help me? I'm trying to gat my reservation calendar working with jquery tabs. Everything else works exept for this reservation calendar. When I remove the javascript from the header, the calendar works just fine but the tabs disappears... Can anyone please help...? <div class="reservationbox"> <div class="reservation_calendar" id="reservation_calendars"></div> <div … | |
I wonder when I press hapus / delete nothing happens. It suppose to delete 1 row in table page. admin.php <?php include('../includes/koneksi.php'); //Hapus berita // undefined index: mode if (!empty($_REQUEST['id']) && !empty($_REQUEST['mode']) && $_REQUEST['mode'] == "delete") { $id = $_REQUEST['id']; $result = mysql_query("DELETE FROM page WHERE id =".$id) or die(mysql_error()); … | |
Hello Lets say I have a text file, in a local or remote location. I want to select it with a file picker (standard Windows browser seleccion). Once I have that selected, I want to click a send button. This send will download the text file from whereever it is … | |
hi all... i'm doing a job site and i want to view jobs from another jobsites like http://www.indeed.co.in/ on my website using xml feed. i dont know how to implelement that ....... pls help me to do that... tnx in advnc... | |
Any ideas please on where should I look for help with making a site (lecaff.fr) that includes phpmyadmin, work on the remote server. It works fine on the testing server and through various browsers using Dreamweaver cs6 and phpMyAdmin 3.3.9. It also responds when I comment out the php script. | |
I was working on a project where a set of code opens a file and reads the content of the files and stores those words in a table. I recently had to format my PC and obviously i re-installed the WAMPServer but it didn't seem to work the way i … | |
Evening all. I am goign through my Image upload script and found it looks messy, would you recommend an cleaner way of doing this: move_uploaded_file($_FILES['file']['tmp_name'], 'photos/' . $_FILES['file']['name']); try { $fileName = $_FILES['file']['name']; $resizeObj = new resize('photos/' . $fileName); // *** Resize options: exact, portrait, landscape, auto, crop $resizeObj->resizeImage(225, 150, … | |
how can i set to the top directory (i.e. **public_html/folder**)? I have tried **$_SERVER['DOCUMENT_ROOT']** without luck. define('JPATH_BASE', dirname(realpath(__FILE__)). '/folder' ); | |
Hello I have found a good template about PM system. http://www.webestools.com/scripts_tutorials-code-source-15-personal-message-system-in-php-mysql-pm-system-private-message-discussion.html But here is the question, is there any way to modify it to be able to send to multiple people? Like Message 1 is subject to send to a group of people. Message 2 is send to an individual … | |
how to import the sql file in an exist database connection.. Regards | |
Hi Guys, I have a problem using the sqlsrv_connect function (in that it's failing!). I have been using mssql_connect on a server with an older verison of PHP where my connect string worked fine. But putting the information into the sqlsrv_connect doesn't let it connect. Here's my code that I … | |
Hi, I've created a PHP form that has a workflow. When a user fills the first page, it sends an email to the respective department head. The department head reviews the form and adds his/her contents. I was able to develop the form, but I am looking for advice/ guidance … | |
$char = '3'; $string = '101131110|101131110|'; $positions = array(); $pos = -1; while (($pos = strpos($string, $char, $pos+1)) !== false) { $positions[] = $pos+1; } $result = implode(',', $positions); print_r($result); The position of '3' in our string was 5,15 I want to get a second position of '3' in position … | |
i want to use insert and delete query at the same time but its not working only insert query run here is my code,every thing is working but delete query..... include("conn.php"); $a=$_GET['email']; if(isset($_POST['submit'])); $firstname=$_POST['firstname']; $lastname=$_POST['lastname']; $email=$_POST['email']; $password=$_POST['password']; $city=$_POST['city']; $address=$_POST['address']; $gender=$_POST['gender']; $degree=$_POST['degree']; $specialization=$_POST['specialization']; $experiance=$_POST['experiance']; $salary=$_POST['salary']; $designation=$_POST['designation']; $insert=mysql_query ("insert into admin (firstname, … |
The End.