Browse all latest questions tagged Php
I'm programming a script using PHP and MySQL and I want to get a unique id (consisting of a string: capitals and small letters with numbers) like: gHYtUUi5b. I found many functions in PHP that can g...
I'm having a lot of trouble figuring out how to use this collection to count rows. $wordlist = \DB::table('wordlist')->where('id', '<=', $correctedComparisons) ->get(); I...
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...
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...
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...
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...
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",...
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...
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...
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:...
My index.php file include this: <div id="fb-root"></div> <script type="text/javascript"> window.fbAsyncInit = function () { FB.init({ appId: '<?php echo $appId; ?>...
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...
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...
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...
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...