• Changing values after MySql DB Collection 2019-02-18

    I currently collect data from a mysql table then post the data using Curl. The values are : title : surname : email Max Test [email protected] How do i collect the data then change the feild names for post to : MainTitle : Lastname : MainEmail Max Test ma

    Tags: php, mysql
  • facebook php API sdk login button 2019-02-16

    I am trying to create a facebook login button but instead of being embedded in the page it should be a popup (like facebook JS SDK). I have used facebook JS SDK code but it's not working like it should. It's not logging in. <?php echo '<a target=&qu

    Tags: php, javascript, api, facebook, login
  • correct implementation of payeezy js 2019-02-15

    I have been reading about the payeezy gateway, and decided to try it, looked up the git hubrepo and tried it . after having to perform various changes to the provided sample.html to get it working, finally was able to get a response with a token, but

    Tags: php, javascript
  • Auto Complete Jquery/Sql 2019-02-12

    I want to Ask About jQuery Auto Complete with MySQL. Auto Complete means it gives suggestions or input available in a Drop-down. I got a Theme For my CP and doing some work but this one took the Whole day. I can do any thing in just 2 - 3 Hours. But

    Tags: php, mysql, jquery
  • Laravel joins using different database query 2019-02-11

    I am constructing this query in my Laravel controller; $payments = DB::table('payments')->leftJoin('postcodes.201502_postcode', 'payments.Vendor ZIP', '=', '201502_postcode.postcode'); foreach ($input as $key => $value) { $payments = $payments->l

    Tags: php, mysql, laravel, laravel 5
  • Trying to post details to a third party form 2019-02-11

    I am trying to automate form submission and struggling to work out why it simply isn't working as I believe I have replicated what the browser does using PHP & curl. Unfortunately the browser always ends up redirecting to an empty form. Any pointers

    Tags: php, forms, redirect, curl
  • Decode specific Json 2019-02-10

    I'm trying decode a json, using json_decode. I need get only 2 informations of json: title and id. This informations are related to product. But my problem is, "inside of" each Product, have images and each image have a title also. My doubt is:

    Tags: php, json
  • php can't execute my python script from one upper directory 2019-02-10

    python import os import sys if len(sys.argv) > 1: output = "" for i in range(1, len(sys.argv)): output = output + sys.argv[i] + ' ' else: output = "no argument found" print "Hello World!!!" print output php <?php $data

    Tags: php, python
  • How to read data in a text file and dynamically update on timed interval using JS 2019-02-08

    I am creating a web-game (text-based). One part of the game is an "arena". I have each player put in a character to fight. What I'm trying to do is get it so that when the fight starts, the payers (and anyone else) can dynamically see the result

    Tags: php, javascript, html, jquery
  • HTML table inside jQuery dialog box positioning 2019-02-07

    I've created a dialog box with a ajax load call inside the dialog box. I'm trying to place a html table inside the dialog box, but when i load the page, the html table appears way down below where it should be, which is at the top of the page. How ca

    Tags: php, html, ajax, jquery, jquery ui
  • How to join two tables with ssp.class.php 2019-02-07

    I started using DataTables Table plug-in for jQuery and got some problems. I am using example code from here. I have MySQL table witch looks like that: id | name | father_id father_id is id value in same table only in different row. So if I want to k

    Tags: php, mysql, datatables
  • How to use PHP's dblib PDO driver with long usernames? / SQLSTATE[HY000] Name too long for LOGINREC field (severity 2)

    How to use PHP's dblib PDO driver with long usernames? / SQLSTATE[HY000] Name too long for LOGINREC field (severity 2) 2019-02-04

    I'm trying to connect to a Microsoft SQL Server / Microsoft Azure database with PHP's PDO: <?php // no actual login data, but similar string lengths $dbHost = ''; $dbUser = 'db_a1a1a1a1_b2b2_c3c3_d4d4_e5e5e5e5e5e5_Exter

    Tags: php, sql server, pdo, sql azure, ms access web app
  • curlExec() has less access than the browser? 2019-02-04

    I have an application that downloads favicon files. Recently I switched from using file_get_contents to curlExec because it has a higher success rate. However when I try and download from , instead of sending the actual file data th

    Tags: php, file, curl, download
  • not able to pass form data to php and save data in XML 2019-02-03

    not able to pass form data to php I am using AJAX in Jquery to pass form field variables to php and using php i want those data should get saved in a XML file in a AEM bin or clientlib. I am not able to pass those data to PHP using ajax .this is what

    Tags: php, xml, ajax, jquery
  • WordPress Pagination Not Working Properly 2019-01-31

    I'm facing a problem with WordPress pagination. Tried almost every answer of Stackoverflow and other sites, but nothing works. What happens is: the next/prev redirect me to 404 when I click (in my case shows me my homepage because I don't have one 40

    Tags: php, wordpress, pagination
  • AngularJS Organization of Simple Ajax Program? 2019-01-31

    There are three major parts of this program. One is an input form, one is a php file, and the last is a table. The when the user enters a query into the input form, the php file should perform a custom query based on what was entered in the input for

    Tags: php, javascript, ajax, jquery, angularjs
  • remove duplicates from dropdownlist in PHP 2019-01-31

    I have a text file like this: unfinished unfinished 17876 open peters Current/17876 - unfinished unfinished 17830 new peters Current/17830 - unfinished unfinished 17810 new jongr Current/17810 - I want to list all items from the 5th column. However i

    Tags: php
  • Woocommerce AJAX PHP 2019-01-29

    When creating the PHP for an AJAX function in my woocommerce checkout page, I use a $.post. What all needs to be in the PHP (via $.post) in order to call $woocommerce->session->set I tried the following in the php of the $.post global $woocommerce;

    Tags: php, ajax, woocommerce
  • How to execute a jQuery function after AJAX modifies the html of an element? 2019-01-28

    I am trying to do go through the following scenario: User selects an employee (option) on a select element. User double clicks the option / clicks on a button that calls a function with a POST request to the server. The POST returns a string with JSO

    Tags: php, ajax, jquery
  • PDO firebird and Parameters 2019-01-27

    I've got a question about parameter handling in firebird 2.5 used in PHP5 using PDO I have the following query that DOES work, but as you can see i need to name each parameter (which is exactly the same). $sql = 'INSERT INTO orderregels (order_ref, p

    Tags: php, firebird, pdo, parameters

Copyright (C), All Rights Reserved.

processed in 2.889 (s). 9 q(s)