php

  1. A

    Android Question B4A, JRDC2 and PHP Website

    Hi All, Hopefully this is in the right section - I'm working on a B4A app, that uses b4j server with jrdc2 connector to mysql server (this is all working fine) - I then have my friend work on php website, which he's connecting to the same mySQL server. I would like to get a login/register...
  2. Muhamad Kamal

    Share My Creation PHP code to send Firebase Notification to both Android mobile app and iOS mobile app

    Hi there! I'm sharing one of my work here so that some of you might refer it. This code is the PHP part from the whole project that I was working on. My project is based on the automated Forex signals that will be sent to Android and iOS mobile app from an indicator built on MT4 MetaQuote...
  3. H

    Android Question PHP and WebView (XAMPP)

    Hi. I'm trying to display a PHP file from (XAMPP Local server) in a webview but i get nothing to show. Is there something i'm missing? I Should mention that the PHP page utilizes CSS and Javascript. Also, the PHP file is just a table that displays records. Is there a better way to do this...
  4. saeed10051

    B4J Question Update a record in mysql using php

    Hi, i am trying to update a record in an online mysql database. using following php script <?php $conn = new mysqli("pdb48.awardspace.net", "3373050_restaurant", "abc123", "3373050_restaurant"); if ($conn->connect_error) { die("ERROR: Unable to connect: " . $conn->connect_error); }...
  5. saeed10051

    B4J Question Inserting data to online mysql database

    i am trying to insert data to my online database using following php script <?php $conn = new mysqli("fdb23.awardspace.net", "3373050_restaurant", "abc123", "3373050_restaurant"); if ($conn->connect_error) { die("ERROR: Unable to connect: " . $conn->connect_error); } echo...
  6. S

    Android Code Snippet Upload a file to your server with HttpJob and php(included)

    4-25-2020 Pick a SINGLE File from Dialog box, Then upload it To a server on LAN Or Internet I wrote this B4A To be very small, simple, & easy to understand on a beginners level In Files Is the PHP script To handle single File upload And save As original filename php creates And appends a...
  7. Songwut K.

    Android Example B4A and PHP REST

    Thanks @Erel for free version that I plan to buy but donate instead. I'll share my B4A knowledge in Thailand, your great product must popular, later. PHP is well known for web developer, it cheap resource and easy to learn in Thailand. Backend system easy manage by PHP & MySQL but till now...
  8. MARCO CORRIAS

    Italian 2 jobdone() in esecuzione ??

    Buongiorno, avete presente questo post https://www.b4x.com/android/forum/threads/mysql-su-aruba.62942/ tutto ok , con il file connessione.php inserito nel server e il seguente codice che lo richiama fraseSql = "SELECT id, idcall, item, qt, prz FROM `app_servicerow`...
  9. Kevin Hartin

    Android Question Put SQLite BLOB into MySQL BLOB using PHP

    I have an app that stores an image in a SQLite BLOB and happily retrieves and displays it in a form. However I need to push that up to a PHP Webserver and store it in the corresponding MySQL BLOB field. Do I have to retrieve the BLOB, store it locally as a file then Post it to the Server for...
  10. KMatle

    B4J Tutorial [B4x] Exchange Data via OkHttpUtils and php (or other platforms) via lists, maps, arrays, etc.

    I made 7 examples how to exchange data between B4x apps and php. I use the POSTSTRING method as it is simple, secure (get-methods will be logged with the data autmatically on the server, post-methods not), strings can be formatted very easy (JSON) and en-/decrypted (not included but see my other...
  11. Mashiane

    B4J Question Google Chrome Web Server - Running PHP files?

    Hi there I'm testing out the Chrome Web Server, however my php files are not executing, resulting in ERR: CONNECTION REFUSED.. Has anyone been able to successfully run php based files with the Web Server for Chrome...
  12. Melek

    Spanish Problema con Webview

    Hola, soy nuevo en B4A, alguien me puede ayudar con el control de WebView, en una pagina web que muestro, hay imágenes y videos, que los videos si cargan, pero no funcionan los controles como el de pantalla completa. Saben si hay alguna forma? Ademas los botones no me funcionan, eso lo note en...
  13. Mashiane

    B4J Library [BANanoSQLite] SQLiteDB PHP CRUD Class for BANano

    Ola UPDATE 2020-05-19: Please use this library instead Update: BANanoSQLite1 Example If you are opting for MySQL connectivity, BANanoMySQL is available here. My journey finally has led me to complete a basic wrapper that one can use for PHP SQLite access. Initially, we tried...
  14. aedwall

    Android Question HttpJob and UTF8

    I am trying to use HttpJob to pass city names to a MySQL database, but b4A always makes funny characters out of names like "Bácum" by turning it into "B%C3%A1cum". I don't want UTF-8 conversions which I can't seem to turn back into a recognizable city name with PHP. If I tell HttpJob...
  15. Mashiane

    B4J Tutorial [BANano] MySQL CRUD with PHP - Part 2

    Ola Kinda excited that this is starting to form a shape. This second part of the tutorial deals with reading the users from the MySQL users table and then displaying them in a table. The first part we just did an intro into what we intend doing and showed how to 1. CREATE a user 2. READ a...
  16. Mashiane

    B4J Tutorial [BANano] MySQL CRUD with PHP - Part 1

    Ola UPDATE 2020-05-19: Please use this library instead [BANAno] MySQL CRUD with PHP - Part 2 Well, the Business College website I'm creating has a portion of where the potential students need to register online. The data needs to be stored in a MySQL database. I intend to use various php...
  17. Mashiane

    Android Tutorial MySQL data to webview using PHP

    Hi there The purpose of this is to demo how one can add, update, read and display mysql database records into a webview. 1. Setting up development environment For this we have used, Xampp with MySQL, BlueStacks android emulator to install and test our apk, some php with CRUD functions etc...
  18. Mashiane

    B4J Tutorial [BANano] Exploring Using PHP & SQLite for your WebApp

    Ola UPDATE: BANanoSQLite now available for actual sqlite db file CRUD functionality. This is part 1 of a series of my explorations using SQLite as a backend to a BANano app. I need a way to persist the data to a database, but thought of a serverless database for now. Series 1. Create the...
  19. Mashiane

    B4J Question [BANano] ExecuteCallBack for PHP & AJAX

    Hi there I've just become comfortable using the ExecuteCallBack method for BANanoSQL and thanks for this feature. I had earlier asked about using Php & MySQL and was pointed to Ajax and an example also provided. Thanks. I'm just about to explore these now fully as I need to persist data...
  20. Mashiane

    B4J Question [BANano]: [SOLVED] Using MySQL / MSSQL with PHP

    Hi there Update: April 8, 2019 Solution [BANAno] MySQL CRUD with PHP - Part 1 [BANano] MySQL CRUD with PHP - Part 2 I have an issue that I need to address. I have a backend that I need to speak to from my BANano App, this could either be MySQL or either MSSQL (no decision as yet). I guess...
Top