39,323 Topics

Member Avatar for
Member Avatar for GlenRogers

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

Member Avatar for GlenRogers
0
158
Member Avatar for deepak.fugo

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 …

Member Avatar for cereal
0
344
Member Avatar for jLamp

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 …

Member Avatar for jaycob15
0
100
Member Avatar for ivanichi

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

Member Avatar for ivanichi
0
303
Member Avatar for davy_yg

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.

Member Avatar for davy_yg
0
106
Member Avatar for yy886

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 …

Member Avatar for broj1
0
2K
Member Avatar for geewebid

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 …

Member Avatar for geewebid
0
346
Member Avatar for deepak.fugo

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>

Member Avatar for deepak.fugo
0
1K
Member Avatar for antwan1986

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 …

Member Avatar for com00085
0
3K
Member Avatar for jackparsana

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

Member Avatar for LastMitch
0
68
Member Avatar for ankit.4aug

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.

Member Avatar for LastMitch
0
221
Member Avatar for abhi10kumar

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 …

Member Avatar for LastMitch
0
138
Member Avatar for er.durgeshkumar

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 …

Member Avatar for masterjiraya
0
353
Member Avatar for jethaya

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 …

Member Avatar for jethaya
0
178
Member Avatar for Ashenvale

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(); …

Member Avatar for EvolutionFallen
0
133
Member Avatar for dtharn

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

Member Avatar for dtharn
0
79
Member Avatar for rexmatthew

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 …

Member Avatar for annaharris
0
245
Member Avatar for davy_yg

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()); …

Member Avatar for pritaeas
0
142
Member Avatar for riahc3

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 …

Member Avatar for pritaeas
0
579
Member Avatar for amith_ami

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

Member Avatar for pritaeas
0
239
Member Avatar for keeleyb

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.

Member Avatar for keeleyb
-1
231
Member Avatar for unikorndesigns

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 …

Member Avatar for LastMitch
0
149
Member Avatar for Squidge

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

Member Avatar for Squidge
0
114
Member Avatar for aqr996

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' );

Member Avatar for pixelsoul
0
322
Member Avatar for yy886

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 …

Member Avatar for yy886
0
804
Member Avatar for chennaipackers
Member Avatar for IIM
0
205
Member Avatar for Wolxhound90

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 …

Member Avatar for Wolxhound90
0
423
Member Avatar for erictdavid

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 …

Member Avatar for annaharris
0
207
Member Avatar for ivanichi

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

Member Avatar for annaharris
0
441
Member Avatar for haris.zia.92

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

Member Avatar for pritaeas
0
478

The End.