39,323 Topics

Member Avatar for
Member Avatar for nevek

Hi I have a php script which creates an xml file //Select the Database mysql_select_db("personeelsbestand",$db); $result = mysql_query("select * from XMLAfdeling", $db); //Create SimpleXMLElement object $xml = new SimpleXMLElement('<xml/>'); //Add each column value a node of the XML object while($row = mysql_fetch_assoc($result)) { echo $row['Afdelingnaam']."\n"; $mydata = $xml->addChild('mydata'); $mydata->addChild('AfdelingID',$row['AfdelingID']); $mydata->addChild('Afdelingnaam',$row['Afdelingnaam']); …

Member Avatar for nevek
0
514
Member Avatar for Nguyá»…n_6

Hi all, I have website links: $link = animeid.moe/stream/QXQt3tPjEPskXRE4MxGmU8/1439976893.mp4 Now I want to download video from this link. I searched and used different ways but no result. Help me. Tks all.

Member Avatar for Nguyá»…n_6
0
132
Member Avatar for kannasekar

Hi all. Here is my problem. I'm a newbie to PHP programming. For my project I just need to run 3 Insert statements in a single button click. The concept is I have a registration form. It has parent details and children details. If parents want to register more than …

Member Avatar for kannasekar
0
220
Member Avatar for Jiby_1

//How dinamically adding textbox and textarea of the given code can take after submit button is clicked in php? <!DOCTYPE html> <html> <head> <title>Add or Remove text boxes with jQuery</title> <script type="text/javascript" src="//code.jquery.com/jquery-latest.js"></script> <style type="text/css"> <!-- #main { max-width: 800px; margin: 0 auto; } --> </style> </head> <body> <div id="main"> …

Member Avatar for Jiby_1
0
218
Member Avatar for cyb3r khan

how to ransomize multiple choice questions from mysql database which i had imported from excel style sheet and then print it ..

Member Avatar for pritaeas
0
73
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
182
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
692
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
576
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
106
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
113
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
760
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
181
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
322
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
582
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
768
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
239
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
505
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
377

The End.