Call PHP function from Javascript to update Database
$30-250 USD
Cerrado
Publicado hace alrededor de 6 años
$30-250 USD
Pagado a la entrega
We need to call a PHP function from a webpage thru Javascript. The users will have 4 buttons to specify their mood. These buttons are mapped to the keyboard keys 'a','s','d' and 'f'. the javascript is working and it's provided.
What we need is that whenever the javascript function is invoked, there is an ajax request to a PHP page that will update the database increasing the values of total votes.
The total votes tracked are the following:
1) Total votes from the beginning of the tracking
2) Total votes for the current month
The database structure is very simple and the structure is provided.
Summary of Requirements:
1) Implement the PHP function to be called from Javascript
2) Whatever happens, the request must be performed with ajax in background without reloading the page.
3) In case of PHP errors the page can be reloaded if necessary. In any case, no message should be displayed on the page since there won't be a keyboard connected.
4) a PHP page retrieving the table with the current values, showing a total for all the periods at the bottom.
5) if the month changes, add a new period in the period column, format 'YY-MM' (1803) and restart the counter for the period
What is provided:
1) the ZIP with the working prototype for the javascript part, icons and static counters
2) the database sql creating script to see the table how it looks like
What is needed:
1) the PHP file adding informations to the database
2) the PHP page with the summary of the values and total
3) modification of the given Javascript to call script at point 1 without page reload (ajax)
Hello,
This is not a canned response. I have gone through the mentioned requirements thoroughly and I am sure that I can get this task done for you and can deliver following:
1) the PHP file adding informations to the database
2) the PHP page with the summary of the values and total
3) modification of the given Javascript to call script at point 1 without page reload (ajax)
Looking forward to work with you.
Kind regards
Hello,
I have not yet checked the code in the zip but have understood what you want in the three points.
1) the PHP file adding informations to the database - BASED ON INPUT
2) the PHP page with the summary of the values and total - A REPORT (GIVE ME FORMAT FOR THIS)
3) modification of the given Javascript to call script at point 1 without page reload (ajax) ( UNDERSTOOD )
I can do the job for you and am available on the chat to discuss further.
Thanks,
Bhawan Baweja
To call the php function via ajax.
The ajax calls will be done when user press a, s, d, f in the keyboard.
The page will not reload.
A result page to be provided. Displaying the total for all periods.
a. Total votes from the beginning of the tracking.
b. Total votes for the current month.
For new month - to add a new period (period format to be: 'YY-MM') and the counter to be restarted.
Approx time to complete: 3 days (Only senior project)
Thanks
Gopal
Note:
+ We are flexible for custom changes & we make them instantly.
+ We provide Service Guarantee for all projects delivered by us. We also provide post-implementation application support &maintenance..
Hi there, let me help you get this done. I can develop this PHP script with necessary Ajax calls. . I am working as a programmer for last 12+ years and have done varieties of works in different areas. Look forward to hear from you & start further discussion through project private chat.
Regards
Khorshed
RS Software
Hi There,
Greetings!!
* We are Real PHP + JavaScript Experts.
* As you required, We can surely help you to call PHP function from JS to update Database (Increase Total votes).
* We allocate our highly experienced developer to work on it & deliver as exactly you want.
Please allow me a short discussion with you.
I'm waiting for your kind reply.
Thanks!!
JT
Hi! my name is Vikas Pundora. I am an experienced PHP developer. I have expertise in developing database driven web applications using PHP and MYSQL. I have read the project requirements carefully and I have understood the project requirements. I am very much interested in developing this Javascript and Ajax function for you
I can start work right now. Let us discuss the project on chat.
Thanks
Vikas
I have 5 + years experience in Web development. I have strong knowledge in asp.net, mvc, angularjs, php, WordPress, mysql, magento, html, java script, woocomerce, ajax.
Check my profile and check my review.
A great team is here for your service!! I read the project description properly, and I agreed to fulfill 100% of all your requirements. I can start your important project right away.
Let's start! To achieve goal with 100% quality we have team of 27 Professional Software Engg. Reply us so that we can move ahead to get this software successfully run.
Regards
Dsv Infosolutions Pvt. Ltd.
I will code the script to track votes using AJAX without reloading page. I will also code a page that will show all summary of votes. Waiting to hear from you to discuss details.
Hi,
Experienced Web Developer with years of experience in PHP/MySQL/Javascript/AJAX/Wordpress.
I have gone through your project requirements and I can complete your Voting script in good time :)
Looking forward to hearing from you.
Regards,
Sid
Hi,
I am kalidass Senior PHP developer,
I have more than 8 years experience in responsive website development.
I have read your full description i am very much confident to do this job.
Looking forward to working with you soon.
Thanks.
Hello hiring member i am bhavika i have done this types task i have 2+years experience in php ,laravel framework i have another best skill javascript ,ajax,jquery html ,css bootstrap and i can make it sense as soon as possible so please give me chance to serve you and i have good team who have good knowledge with this all this things :)
Hello employer,
I gone through your requirement and also see the zip and database file.
I am pretty sure that i can do this job. If you are not satisfied than I will not ask for money.
I am professional web developer and Designer from India 6+ years experienced.
You can also take a look at my Freelancer Profile and review.
I’m glad to answer any questions you may have!
Thanks & Regards
iCreatewebtech.
hi,
i have read out your project and i am capable to complete your task with in time frame.i am having more than 6 years experience in php, AJAX.
Thanks
Hello! I'm so much interested in your project and wanted to take it.
Will build a bridge between PHP and JavaScript and will deliver quality of work :)
Hello,
I work as a freelancer and I develop websites. I have experience in PHP, HMTL, CSS, Javascript and MySQL databases. I can create the PHP file/s you need and the Ajax calls in other to achieve your goal.
Do not hesitate to contact me.
Best regards,