Find Jobs
Hire Freelancers

A simple HTML form that uses AJAX/PHP to access MySQL

$10-30 AUD

In Bearbeitung
Veröffentlicht vor mehr als 6 Jahren

$10-30 AUD

Bezahlt bei Lieferung
I have a MySQL database which I access though PHP. I want to create a dynamic webpage where if a certain field in the MySQL data contains a value (say "ON" instead of "OFF"), then the webpage displays an HTML form. I only want the HTML form to display if the value in the database is "ON" instead of "OFF". It needs to automatically disappear if the value in the MySQL database changes to "OFF". It's fine if this check/refresh (AJAX?) happens every five seconds or so - but it can't make the form hard to use (i.e. I don't want the whole page refreshing every five seconds so that someone can't actually fill in and submit the form). The form itself needs to be dynamically generated from PHP/MySQL queries, so I'm thinking an AJAX call that displays the outputs of a PHP script would be fine. However, I don't know how to do the AJAX/JavaScript display stuff. Here's what I need you to give me: 1. A simple HTML page containing an appropriate AJAX script that would do what I've said above, returning the output of the PHP script in 2 below. The key part is that it needs to be always checking if a value exists in the data base, and not display the form if it doesn't - but it can't make the form reset every time it refreshes. This might be achieved through the PHP output below. 2. A very simple PHP script which checks for a value in the data base, and displays a form. For the purpose of this, it's fine if you just make it display a simple check box with some text and a submit button. 3. I DON'T need it linked to MySQL. I know how to do that and can do all that later. I just need two simple scripts which I can use as a template. I'll plug it in myself, and if it doesn't work, I'll send you a chat. I'm sure this will only take someone 10 mins to do, but I don't know how to do it.
Projekt-ID: 14924412

Über das Projekt

7 Vorschläge
Remote Projekt
Aktiv vor 7 Jahren

Möchten Sie etwas Geld verdienen?

Vorteile einer Ausschreibung auf Freelancer

Legen Sie Ihr Budget und Ihren Zeitrahmen fest
Für Ihre Arbeit bezahlt werden
Skizzieren Sie Ihren Vorschlag
Sie können sich kostenlos anmelden und auf Aufträge bieten
7 Freelancer bieten im Durchschnitt $21 AUD für diesen Auftrag
Avatar des Nutzers
Hello there, I've been developing websites for the past 9 years. Feel free to check my portfolio and ask me any questions you may have. Regards, Babis Relevant Skills and Experience I am greatly familiar with technologies such us HTML/CSS/JQUERY/PHP and are the main ones I am going to use in your project. Proposed Milestones $29 AUD - Default
$29 AUD in 1 Tag
5,0 (262 Bewertungen)
7,9
7,9
Avatar des Nutzers
A proposal has not yet been provided
$25 AUD in 1 Tag
5,0 (49 Bewertungen)
5,1
5,1
Avatar des Nutzers
please give me a chance Hi, I read overview of your project carefully. I’m sure that it proper for me because I’m expert I’m always ready for your work and I will give you satisfaction. Relevant Skills and Experience don't forget i have carryed out like that a few ago. my main skills are php, html, javascript ,ajax....and also i have good experience for 3 years. Proposed Milestones $15 AUD - after
$15 AUD in 2 Tagen
0,0 (0 Bewertungen)
0,0
0,0
Avatar des Nutzers
Need only ratings not money.
$15 AUD in 1 Tag
0,0 (0 Bewertungen)
0,0
0,0

Über den Kunden

Flagge von AUSTRALIA
Balmain, Australia
5,0
9
Zahlungsmethode verifiziert
Mitglied seit Sept. 3, 2012

Kundenüberprüfung

Danke! Wir haben Ihnen per E-Mail einen Link geschickt, über den Sie Ihr kostenloses Guthaben anfordern können.
Beim Senden Ihrer E-Mail ist ein Fehler aufgetreten. Bitte versuchen Sie es erneut.
Registrierte Benutzer Veröffentlichte Jobs
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Vorschau wird geladen
Erlaubnis zur Geolokalisierung erteilt.
Ihre Anmeldesitzung ist abgelaufen und Sie wurden abgemeldet. Bitte melden Sie sich erneut an.