39,323 Topics
| |
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']); … | |
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. | |
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 … | |
//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"> … | |
| how to ransomize multiple choice questions from mysql database which i had imported from excel style sheet and then print it .. |
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 … | |
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 ? | |
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 … | |
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. … | |
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 … | |
| 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. ... */ |
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 … | |
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 … | |
$capture_field_vals .= $text_field .", "; | |
how to do explode function in php after every 2nd commas question jiby, t, joby, p, expected answer jiby,t joby,p | |
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 … | |
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 … | |
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> … | |
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? | |
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 | |
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> … | |
<?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 … | |
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?? | |
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, … | |
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: … | |
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? | |
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> … | |
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 … | |
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 … | |
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: " … |
The End.