Android Question MySQLi script

NINlol

Member
Licensed User
Longtime User
Hello everyone,

I have a question:
Is there a script for connecting to MySQLi? The use is for online websites, no local websites!

Thanks,
Nick van Kesteren.
 

NINlol

Member
Licensed User
Longtime User
Yeah I saw that thread and I tried it. I used the PHP code in your thread NJDude but I changed all the MySQL things to MySQLi but then I get an warning/error with the mysqli_error code. The warning/error is: Warning: mysqli_error() expects parameter 1 to be mysqli, boolean given in D:\TO PATH.php on line 8.
I get that it needs the connection, right? That's why I put $con there.

I don't know how to solve this problem.
Thanks.
btw: I changed MySQL to MySQLi because MySQL is out of the newer versions of PHP.
 
Last edited:
Upvote 0

macerau

Member
Licensed User
Longtime User
Good afternoon Ezel,
See if you can help me,
I have a Samsung S5 duo chips that use for programming.
I used MYSQL bookstore to read a list of telephone numbers and send SMS.
In a program bug, shot 150 consecutive sms.
Starting this moment I can not do more reading by MYSQL.
Thanks
Raul
 
Upvote 0

macerau

Member
Licensed User
Longtime User
Please start a new thread for this question and explain the problem or question.
Maybe you have some experience about it and can help me.

when replacing the MYSQL by MSMYSQL had this error when compiling:


B4A version 4.30

Parsing code. 0.12

Compiling code. 0.30

Compiling layouts code. 0.05

Generating R file. 0.05

Compiling generated Java code. 1.34

Convert byte code - optimized dex. Error

Error: Unable to access jarfile C:\ANDROID\tools\..\platform-tools\lib\dx.jar

Optimized dexer failed. Switching to Standard dexer.



I tried this file and put the indicated path and appeared this error now:


B4A version 4.30

Parsing code. 0.49

Compiling code. 1.00

Compiling layouts code. 0.22

Generating R file. 0.19

Compiling generated Java code. 4.96

Convert byte code - optimized dex. Error

UNEXPECTED TOP-LEVEL EXCEPTION:

java.lang.IllegalArgumentException: already added: Lcom/mysql/jdbc/AssertionFailedException;

at com.android.dx.dex.file.ClassDefsSection.add(ClassDefsSection.java:122)

at com.android.dx.dex.file.DexFile.add(DexFile.java:161)

at com.android.dx.command.dexer.Main.processClass(Main.java:732)

at com.android.dx.command.dexer.Main.processFileBytes(Main.java:673)

at com.android.dx.command.dexer.Main.access$300(Main.java:83)

at com.android.dx.command.dexer.Main$1.processFileBytes(Main.java:602)

at com.android.dx.cf.direct.ClassPathOpener.processArchive(ClassPathOpener.java:284)

at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:166)

at com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:144)

at com.android.dx.command.dexer.Main.processOne(Main.java:632)

at com.android.dx.command.dexer.Main.processAllFiles(Main.java:510)

at com.android.dx.command.dexer.Main.runMonoDex(Main.java:280)

at com.android.dx.command.dexer.Main.run(Main.java:246)

at com.android.dx.command.dexer.Main.main(Main.java:215)

at com.android.dx.command.Main.main(Main.java:106)

1 error; aborting

Optimized dexer failed. Switching to Standard dexer.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…