Home >

php

Advertisement
  • Problems retrieving access token from Paypal android sdkFebruary 17

    I am trying to gain a token via the android paypal sdk. I created this cURL inside a php script, but I am unable to update my tkn column in my 000webhost database. The script is called from my app, but I think there might be something wrong with the

  • Migrating of php REST application from Apache to IISFebruary 17

    I have slim framework with .htaccess and front end app which calls api through http protocol. On Apache call is made to /api/v1/login - which returns JSON response. On IIS when i do the same call, it returns html contents of /index.php apache .htacce

  • Cant download a SWF image or preview it using PHPFebruary 17

    Hi Stackoverflow community, I've been trying to download a swf image from a extern server, which you can reach by a simple url. Sadly the downloaded SWF wouldn't show up in the browser, so i assume its a broken file. Also I'm not able to preview the

  • PHP translation not always working

    PHP translation not always workingFebruary 17

    I have been trying to make a website which turns all the characters in a sentence to an emoji beginning with that letter (I got very bored) Here is my code Sorry I couldn't add this as text, it kept running even when set as code Anyway, it works on s

  • Search multidimensional array for value in certain key, return value of different keyFebruary 17

    I'm new to php and have been using the community and answers here to really help me with a little project I'm working on so thank you all in advance for the help so far! I am pulling a load of information held in a poorly formatted text file/feed, tr

  • Magento Slider Revolution Error on Create New Slider Page ( call to assign() on a non-object )February 17

    I just installed Slider Revolution 5.1.6 on Magento 1.9.1 and I'm running into an error on the Create New Slider Page: Fatal error: Call to a member function assign() on a non-object in (magento-directory)\app\design\adminhtml\default\default\templat

  • Check if wordpress query was successfull or notFebruary 17

    I am executing a query which is as follows. global $wpdb; $table_name = $wpdb->prefix . 'prousers'; $results = $wpdb->get_results("INSERT into $table_name (name,gender,mailid,empid,address,phone) VALUES( '".$InputName."','".$gend

  • PHP - using a line from a text file in an IF statementFebruary 17

    I am trying to get a PHP file to read a specific line from a text file and then use that line in a string comparison for an if statement. The second line in the textfield will always have one of two different values. Either &activeGame=0 or &activ

  • How to embed Neo4j Graph in a webpage ?February 17

    I have been trying to embed the Neo4j Graphs that I am able to see in the Neo4j browser, in a web application. I was initially taking reference from this website. https://github.com/neo4j-examples/movies-php-neoclient and http://neo4j.com/developer/e

  • php post superglobal array doesn't contain all keys from formFebruary 17

    I have this html form in my php script <form action="" method="post"> <div style="width: 30em;"> <label for="firstName">First name *</label> <input type="text" name="firstNa

  • PHP: mysqli persistent connection with mysql socket?February 17

    for persistent connection this is said to the rule.. appending "p:" $co = new mysqli('p:localhost', 'user', 'pass', 'db'); but what if you want to use.. $co = new mysqli(NULL, 'user', 'pass', 'db', NULL, '/run/mysqld/mysqld.sock'); where do you

  • Doctrine Proxie generationFebruary 17

    Hi I am unable to generate my proxies using php doctrine orm:generate-proxies Here is the XML file that I am using: application/entities/xml/Beacon.Entities.Center.dcm.xml <?xml version="1.0" encoding="utf-8"?> <doctrine-mappi

  • How to populate city dropdown by selecting value in country dropdown from the mysql database in codeiginiterFebruary 17

    I have tried a lot to find the solution of how to populate the city dropdown by selecting the country in the first dropdown but i didn't understand the available solutions.I have populated the first dropdown from the database but i cant populate the

  • How can I make "foreach" list items in alphabetical orderFebruary 17

    I am looking to list items (or in this case game titles) in alphabetical order. using php I am getting games from a mysql databse, i use foreach to easly list all games, but i need it to list them in alphabetical order. games.php <table style="wid

  • fetch emails from mysql db using pdo using multiple ids in textboxFebruary 17

    I have a form that contains a textbox that the user can ad member ids to. each id is separated by a space in the textbox. When the user submits the form I want to fetch each members' email from mysql db and include a string for each email within the

  • Generate number like auto icrement with zero February 17

    This question already has an answer here: Formatting a number with leading zeros in PHP 7 answers Generate number like auto icrement with zero I wont generate ordinal number example from 0 to 999 but just 3 digit, from 3 digits zero like this 000 001

  • Why is my get_post_meta() not working? (Wordpress)February 17

    I'm making a wordpress theme where you're supposed to be able to say what categories you want to display on a specific page. To do this I figured adding a meta box would be the best bet. Only now I can't seem to get the info from the meta box. It's p

  • Laravel Check if can connect to DBFebruary 17

    I'am trying to prevent query to DB if connection is not possible. Basically if can't connect and app_debug = false it jusst throws 500 error and if app_debug = true shows error trace. I need when ther is no connection to DB just return an empty array

  • How to echo out payment amount to customer after successful purchase with paypal sdk?February 17

    I can successfully create payment with paypal rest sdk. And the code below belongs to page I redirect successful customers. success.php // #Execute Payment Sample // This is the second step required to complete // PayPal checkout. Once user completes

  • How can print form about modal bootstrap to using ajax + slim framework?February 17

    I have a modal dialog which is as the example below: <!-- Modal --> <div id="myModal" class="modal fade" role="dialog"> <div class="modal-dialog"> <!-- Modal content --> <div class="m

Copyright (C) 2017 ceus-now.com, All Rights Reserved. webmaster#ceus-now.com 13 q. 0.404 s.