Find Jobs
Hire Freelancers

PHP Form Needed to Update XML

$10 AUD

Completed
Posted over 9 years ago

$10 AUD

Paid on delivery
I know this is a simple project as I almost got it right myself but I am not a PHP person. I have the files attached to work with. It is really just putting in the PHP component of the code and make it work right. What I need is a simple PHP form to enable updates of the existing data in that XML file and to clear all, as another option. The code will make it clear why I need. It must use simplexml so I understand it better later. I also need this done pretty much immediately so I can carry on. I got it to work with 1 entry but couldnt get multiples to work. The code I could get working is demonstrated below so it is probably a good base The Sample XML file <welcome> <item> <name>$welcome</name> </item> </welcome> The Sample PHP <?php if(isset($_POST['submit'])) { $data=simplexml_load_file('[login to view URL]'); $data->item->name=$_POST['name']; $handle=fopen("[login to view URL]","wb"); fwrite($handle,$data->asXML()); fclose($handle); } $data=simplexml_load_file('[login to view URL]'); $welcome=$data->item->name; ?> <form method="post"> <textarea name="name"><?php echo $welcome ?></textarea> <br> <input type="submit" name="submit" value="submit"> </form> PLEASE REMEMBER TO USE MY FILES, NOT THE EXAMPLE ONES.
Project ID: 6775286

About the project

5 proposals
Remote project
Active 9 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
dear client i have Exceptional experience in WordPress Huge knowledge of WordPress plugins and architecture Wide knowledge of Social Media Proficient in PHP, HTML and CSS, MySQL, Ajax, jQuery and JavaScript Thorough understanding of best practices and industry standards thanks
$10 AUD in 1 day
0.0 (0 reviews)
0.0
0.0
5 freelancers are bidding on average $75 AUD for this job
User Avatar
Hello! Bid is to read from XML and also Write / Update the XML when the form is submitted (both). With 99% completion rate, 720 successfully completed projects, and a 5.00 reputation (maximum possible, 5.0) (Yes, not even 4.99 average rating, can be verified on my profile page https://www.freelancer.com/u/rajeshsonisl.html !!)... you can never go wrong choosing me :) I look forward to your reply. Thanks. Kind Regards, Rajesh Soni
$24 AUD in 1 day
5.0 (529 reviews)
7.5
7.5
User Avatar
Hello Sir, I can work on this. Please start a PM on this. Thanks & Regards, Anshulika Bansal
$20 AUD in 1 day
4.9 (36 reviews)
4.8
4.8

About the client

Flag of AUSTRALIA
Dapto, Australia
5.0
4
Payment method verified
Member since Oct 22, 2013

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.