Latest Questions tagged Php

Browse all latest questions tagged Php

28
Votes
Published 05 Aug, 2022
Jquery - ajaxform jQuery plugin reset form after sending request

Before i begin I believe this is not a dublicate at first. Here's my problem: I have a chatroom php script that i use ajaxForm jQuery plugin in order to send new messages without reloading the whole...

11
Votes
Published 04 Aug, 2022
Jquery - HTML Submit form on dropdown change

Good morning! I know that this topic has been covered on SO before but I couldn't find the full answer to my specific situation below so I apologize if I missed the answer elsewhere. Scope: What I...

66
Votes
Published 05 Aug, 2022
Jquery - Stopping redirect after AJAX request with jQuery

I'm trying to get a simple form to submit via AJAX to the submit.php page where it is sent to a database. When I submit it, it redirects to submit.php. I want it to submit without redirecting. Thanks...

85
Votes
Published 09 Jul, 2022
Jquery - JQuery Autocomplete from Database

I need to to do autocomplete suggestion for my website and the data should be retrieved from database. I want to use JQuery autocomplete. here is my code but it doesn't work! This is my php file with...

109
Votes
Published 09 Aug, 2022
Jquery - how to get two arrays from php using json,jquery ajax?

I want to build a graph in jqchart where i need to get two arrays Now i want to perform operation as given below.Which is giving error ofcourse. html $.ajax( { type: "GET",...

47
Votes
Published 10 Aug, 2022
Jquery - jQuery calling php script onload

I am trying to use jQuery's ajax to call a php script onload. This script will return xml from a url web service, parse through it, and then display bits and pieces of it into a div tag when the page...

82
Votes
Published 08 Aug, 2022
Jquery - close colorbox and redirect parent window to a specific url

I am trying to get colorbox (iframe) to close and for it to redirect the parent window to a specific page that is dynamically depending on the image that is being displayed in the colorbox. So basical...

7
Votes
Published 16 Apr, 2022
Javascript - Grab Instagram Follower count

So I have a question what would be the method to just grab the instagram follower count for a said user? I have looked at two possible options the official instagram API, but I couldn't find a speci...

48
Votes
Published 09 Aug, 2022
Jquery - How to load php file into div using jQuery Load with passing parameter

I've an element <div id="search_result"></div>, and then I used $.ajax to retrieve some data (search result). $.ajax({ url: "url to server", dataType: "json", data: keyword, type:...

48
Votes
Published 04 Aug, 2022
Jquery - Facebook login integration to website on localhost

My index.php file include this: <div id="fb-root"></div> <script type="text/javascript"> window.fbAsyncInit = function () { FB.init({ appId: '<?php echo $appId; ?>...

29
Votes
Published 02 Aug, 2022
Jquery - show progressbar while loading pages using jquery ajax in single page website

I have a basic page with a navigation bar on top, and a wrapper body. Whenever a user clicks on a navigation link it uses .load to load the page content into the wrapper div. $(this).ajaxStart(funct...

56
Votes
Published 01 Jul, 2022
Python - Why is PHP7 so much faster than Python3 in executing this simple loop?

As an extremely simple benchmark, I executed the below simple code on PHP 7.0.19-1 and Python 3.5.3 (command line) on the same Raspberry Pi 3 model B. Python's execution time was horrible in comparis...

33
Votes
Published 04 Aug, 2022
Jquery - Issue with Bootstrap Modal and Select2 in Yii

I have posted this question on Yii developers forum as well but didn't get any reply so far, so I thought it worth to try to post the quietsion here. After reading several threads and blog posts I’m...

102
Votes
Published 08 Aug, 2022
Jquery - Using AJAX to open php file

So I am trying to open af php file that updates something in my database. I want to do this using AJAX since I dont want my entire page to update. After the php file has been ran I want to change an i...

8
Votes
Published 16 Apr, 2022
Javascript - Client Server REST API captcha implementation

I'm building client server REST application. Client side is based on Angular while server is PHP (not that it matters much anyhow). What I am wondering if there are any best practices, good examples...