Posts by Jonathan Silva • 119 points
11 posts
-
0
votes1
answer58
viewsQ: Combo select does not work
There are days trying to solve this problem in the list of subcategories but without success. Any solution ? Do not want to show the subcategories in select NOTE: In PHP I made return…
javascriptasked Jonathan Silva 119 -
4
votes1
answer129
viewsQ: How to make a SELECT between two tables and their WHERE’s?
I take the category ID, and with it I search the subcategories. For this I am using WHERE’s. How would you look using INNER JOIN? The WHERE’s thing got me confused <?php namespace…
-
2
votes1
answer468
viewsQ: How to use Cascade Delete between two tables?
I have 2 tables: products id name ... products_photos id id_product photo In PHP I will make a DELETE in the Product, and therefore I want to automatically delete ALL photos of the deleted product,…
-
0
votes1
answer96
viewsQ: How to recover data from model?
I’m using routing with Drouter and always need to take the data of such store by Slug, for this I need to do 1 select on all routes. But I don’t know how to get the id, name and Slug from over…
-
0
votes1
answer85
viewsQ: How to set the db variable in the Clientemodel?
I’m crawling in MVC and I’m picking up in a 'simple' registration. When you click on register, the errors appear: Notice: Undefined variable: db in C: xampp htdocs cadastromvc App Models…
-
-1
votes1
answer275
viewsQ: How to delete data from multiple tables at the same time?
People for security I decided to use Transaction, I hope it works like this: Concludes only if all the querys rotate. You suggest something better? <?php if (isset($_GET['deletar']) &&…
-
0
votes1
answer188
viewsQ: How to use form validation in the model (MVC)?
I need to use MVC on the system and I want to know if the validations there in the.php register with $_SESSION['token'] should be in Usermodel. Who can help... I don’t know much php. <?php…
-
1
votes1
answer77
viewsQ: How to return to Activity and execute a method?
have the Activity Profile.class and it displays my photos, when clicking on it, opens a fragmentDialog displaying the photo in slideshow... but when deleting the photo, need q back to my profile and…
-
-1
votes2
answers88
viewsQ: Credit card in android app
Personal is the best person to save the number, due date and card cvv, in the app itself (sqlite) or in the web database?
-
3
votes2
answers360
viewsQ: Android, how to do security in JSON?
Use Volley to make POST request to a url that returns user data... But you can see this data, creating a simple html form with action set to the url 192.168.0.101/project/user.php . Ai shows all the…
-
0
votes1
answer251
viewsQ: How to avoid File Inclusion failure?
Personnel using a vulnerability search tool, vul File Inclusion was found, which is in the following codes: $url = (isset($_GET['url'])) ? htmlentities(strip_tags($_GET['url'])) : ''; $parametros =…