38,020 Topics

Member Avatar for
Member Avatar for cambraydesign

I have a JSON decoded array in php with foreach that includes a select option in a form every time I select an option from this drop down it returns the last value in the list. The option is just the selector not the value I'm trying to save. I'm …

Member Avatar for cambraydesign
0
2K
Member Avatar for phoenix254

Hello I would like ask u guys that what does mean `$variablee = isset($_GET['timestamp']) ? $_GET['timestamp'] : 0;` ? what stand for `?` sign and this sign `: 0` ? please someone explain me this code ?

Member Avatar for Tpojka
0
181
Member Avatar for Hazuan Nazri

Hello everyone, i want to develop a Asset system for my Final Year project using QR Code scanner, the QR Code will be taped at all asset and using this system, user will login and this system will be access via their phone and user will scan the qrcode. from …

Member Avatar for almostbob
0
12K
Member Avatar for smackthat9876

can i get some help with installing solve media captcha in yourls? here is the guide for solvemedia, http://wsnippets.com/integrate-solve-media-captcha-php/ YOURLS blog on how to add recaptcha http://blog.yourls.org/tag/captcha/ what I've done so far is put the solvemedia scriptline in place where it tells you to put the same thing for recaptcha. …

Member Avatar for spb75
-1
691
Member Avatar for rpv_sen

I have created a function. if i provide correct username and password. i am getting a error message as **Sorry, that username / password is invalid !** can any one please help me to fix the issue. **login.php** <?php require 'include/init.php'; $general->logged_in_protect(); if(empty($_POST) === false) { $username = trim($_POST['username']); $password …

Member Avatar for rpv_sen
0
574
Member Avatar for anmol.raghuvanshi1

How can I get phpStorm autocomplete working with the new CI v3 DB class? // help IDE(s) support Codeigniter 2.0 * @property CI_DB_active_record $db <-- no longer valid. ... */

Member Avatar for anmol.raghuvanshi1
0
104
Member Avatar for blueguy777

I am writting remider service script it should remind the due amount before 3 days in a particular month once in a year. My code is working fine for current month, but how to set reminder if current date is 2015-07-30 but the actual due date will be in next …

Member Avatar for diafol
0
196
Member Avatar for Chris920

Not sure if that is the correct title, but I created an additional field in the users profile. I want to add that field with the option to change that field (its a drop down) on the main homepage as well as profile page. It would be the exact same …

0
111
Member Avatar for Jiby_1
Member Avatar for Jiby_1

how to do explode function in php after every 2nd commas question jiby, t, joby, p, expected answer jiby,t joby,p

Member Avatar for jkon
1
165
Member Avatar for pranto157

hi all. I have got below code from a website. Its work all but its can't delete the selected multiple row. plz help me... where is the problem. [code] <?php $host="localhost"; // Host name $username="root"; // Mysql username $password=""; // Mysql password $db_name="forum"; // Database name $tbl_name="test_mysql"; // Table name …

Member Avatar for danie93007
0
759
Member Avatar for rpv_sen

Hi I am trying to connection my database ODBC using function. I am getting an error **Connection error: could not find driver** **mycode is** <?php class Database{ // specify your own database credentials private $host = "servername"; private $db_name = "databsename.schemaname"; private $username = "username"; private $password = "password"; public …

Member Avatar for rpv_sen
0
3K
Member Avatar for geetanjali shet

Hi, i wanted to create xml file dynamincally by using php, values for tag are given through html page i.e on form submit, i should get xml file in following format: <college> <Department> <id>1</id> <name>cse</name> <address>bangalore</address> <student> <id>1</id> <name>xyz</name> </student> <address>bangalore</address> <student> <id>1</id> <name>xyz</name> </student> </Department> <Department> <id>2</id> <name>enc</name> <address>bangalore</address> …

Member Avatar for diafol
0
193
Member Avatar for AntonyRayan

I created a table with dynamic table headings and also dynamic textboxes for that respectively. Now my query is, how to insert that textboxes values into appropriatre fields of table, Suggest me?

Member Avatar for rpv_sen
0
126
Member Avatar for seffu

I have a dynamically created checkbox and I want to pass the values of the checked boxes.I dont want to use an array because it interferes with my other function

Member Avatar for diafol
0
180
Member Avatar for Ravinder_3

I had created the form with save button.When I click on the button no action is performing and I want to save these details in database.Please suggest me and help me to solve this issue. <div> <b> Hello <?php echo $_POST["name"]; ?>!</b><br> <b>Email :</b> <?php echo $_POST["email"]; ?>.<br> <b>Gender :</b> …

Member Avatar for Ravinder_3
0
203
Member Avatar for Jiby_1

<?php $message = "test mail"; $name = "jiby"; $email = "test@gmail.com"; $tel = "9744462131"; $mob = "9744462131"; $comment = "hai"; $content = "<h3>Contact Form</h3><br/><table width=100% border=3> <tr> <td width=40% ><b>Name :</b></td> <td width=60% >$name</td> </tr> <tr> <td><b>Email Address : </b></td> <td>$email</td> </tr> <tr> <td><b>Telephone : </b></td> <td>$tel</td> </tr> <tr> <td><b>Mobile …

Member Avatar for pritaeas
0
321
Member Avatar for ankit1122

i will be receiving JSON POST as mentioned on this web page https://sendgrid.com/blog/sendgrids-parse-api-parsing-incoming-email-is-now-faster-and-easier/ how do my application receive this request and process furthur??

Member Avatar for cereal
0
502
Member Avatar for AceJay

Hi, I'm a begginer at php and I need to create a image editing tool in php. I want to crop the image, display the cropped image next to the original and be able to resize, re-crop and replace the cropped image in the same location as previous cropped image, …

Member Avatar for AceJay
0
762
Member Avatar for Ravinder_3

When I click on the button it is not working but when i refresh the page the mails are going.Please suggest me how to solve this problem. <button type="submit" title="<?php echo $this->__('Email Me') ?>" class="button"><span><span><?php echo $this->__('Email Me')?></span></span></button> <?php $email=$_POST['email']; $name=$_POST['name']; $to=$email; $subject= "New Application"; $message= "Name: ".$name; $headers= "From: …

Member Avatar for broj1
0
4K
Member Avatar for AntonyRayan

Can any one tell me ? which framework is easy to learn and configure. And Which one is best codeIgniter or Zend or CakePHP or any other?

Member Avatar for AntonyRayan
0
118
Member Avatar for Chibueze_1

I'm totally new to php. I'm trying to echo the value of an input field into a an array but it doesn't seem to work.e.g echo the value of hidden-input as the value for origin in the array. How can I achieve this. <form method="post"> <input id="hidden-input" name="from[]" value=""> </form> …

Member Avatar for cereal
0
237
Member Avatar for Mannava

5:18:22 PM [Apache] Problem detected! 5:18:22 PM [Apache] Port 80 in use by "Unable to open process" with PID 4! 5:18:22 PM [Apache] Apache WILL NOT start without the configured ports free! 5:18:22 PM [Apache] You need to uninstall/disable/reconfigure the blocking application 5:18:22 PM [Apache] or reconfigure Apache and the …

Member Avatar for dhiraj_2
0
4K
Member Avatar for donoskaro

Hey guys, I am currently *trying* to create an IMAP authentication backend for Baikal/SabreDAV. The aim is for SabreDAV to authenticate users using an IMAP server (which will make CalDAV and CardDAV authentication a lot easier). This is the code I have produced so far: <?php namespace Sabre\DAV\Auth\Backend; // Auth …

0
450
Member Avatar for rpv_sen

Hi friends i am trying to display dynamic dropdown using php. but it is not fetching the second dropdown value. I collected the below code from internet. please help me to fix it. <?php $dbc = mysqli_connect("localhost","root","escape123","tsheet"); // Check connection if (mysqli_connect_errno()) { echo "Failed to connect to MySQL: " …

Member Avatar for rpv_sen
0
375
Member Avatar for yaginuk

hi, new to php. i have just started a project for entering 2 postcodes (zip code) and working the distance between the 2. if i have to a url like "https://api.postcodes.io/postcodes/cf634px" and when you put that in a browser content is returned within. how would i use php to echo …

Member Avatar for diafol
0
167
Member Avatar for jay_13

to obtain principal amount and time and calculate simple interest as per following rate of interest?

Member Avatar for cereal
0
50
Member Avatar for anmol.raghuvanshi1

I am trying to intergrate the jquery tokenInput plugin to my form [Link](http://loopj.com/jquery-tokeninput/) I want to simple local data search I want data to be fetched from database and show it in input box with multiple options as in demo However this code works for me it displays the result[i …

Member Avatar for anmol.raghuvanshi1
0
876
Member Avatar for Ravinder_3

I added the code for generating the due dates for present day. Can you Please help me how can i generate the vaccination due date by selecting the date of birth. Here is my code in app/design/frontend/ultimo/default/template/vaccination/vaccination.phtml <?php $nextWeek = time() + (7 * 24 * 60 * 60); // …

Member Avatar for diafol
0
298
Member Avatar for ramsiva

array([details] => Array([0] => Array( [name] => 454 [location] => 4) [2] => Array([name] => 454 [location] => 5))) I have array details with two sub arrays [0] and [2] how to convert and order [2] to [1] array([details] => Array([0] => Array( [name] => 454 [location] => 4) [1] …

Member Avatar for ramsiva
0
118

The End.