Posts by eliangela • 171 points
9 posts
-
3
votes2
answers110
viewsA: Error Trying to get Property... PHP + Error og:image API Facebook (Share)
The problem is that the mysql_fetch_assoc returns an associative array. You should use with array: while ($row = mysql_fetch_assoc($result)) { echo $row["userid"]; echo $row["fullname"]; echo…
-
1
votes2
answers604
viewsA: Problems receiving money as input in edittext
Hello, I found a solution in github. <faranjit.currency.edittext.CurrencyEditText android:id="@+id/edt_currency" android:layout_width="wrap_content" android:layout_height="wrap_content"…
-
1
votes2
answers2153
viewsA: How to refresh the page without forwarding information to the php database
You can do it in some ways: Post the form by ajax and clear the fields (by javascript). This way, when the user presses F5, it will only reload the page instead of resending the data. Post in the…
-
2
votes2
answers33
viewsA: How to email each new record?
Hello! I wouldn’t do it using the database, I would do it using the programming language. Most current languages support the execution of asynchronous tasks, which helps in case of delay in sending.…
postgresqlanswered eliangela 171 -
1
votes5
answers2538
viewsA: How to use Try Catch on an Insert
Good afternoon! The PDO execute() method returns a boolean that indicates whether there has been success or failure in SQL execution (http://php.net/manual/en/pdostatement.execute.php). In your…
-
0
votes1
answer80
viewsA: Java Android Studio - Recover IP from device
You can use a Webservice as AWS import java.net.*; import java.io.*; URL meuIP = new URL("http://checkip.amazonaws.com"); BufferedReader in = new BufferedReader(new…
-
3
votes2
answers1208
viewsA: cannot set Property 'innerHTML'
I put a console.log before the problematic call and returned the following: "Little House-1" and its ID is "Little House". for(i = 0; i < palavraLength; i++) { var acharLetra =…
javascriptanswered eliangela 171 -
2
votes4
answers2249
viewsA: Create Virtualhost on port 81
When I set up other ports in apache, I usually put the following instruction together with Virtualhost: Listen 81 Listen 8080 <VirtualHost *:81> ServerName localhost DocumentRoot…
-
1
votes0
answers198
viewsQ: phonegap-plugin-push does not work on iOS
Good afternoon to all! I have an IONIC project where I am using phonegap-plugin-push to send Push notifications. Android is working very well, but iOS does not work. Alert does not appear asking if…