Posts by vitor.barroso • 74 points
4 posts
-
1
votes3
answers496
viewsA: Mysql Friendly URL
A simple way would be to change your .htaccess for something like: RewriteEngine On RewriteRule ^post/([0-9]+)/(.*)?$ posts.php?id=$1 [NC,L] // OBS: talvez precise alterar algum detalhe Thus, the…
phpanswered vitor.barroso 74 -
1
votes1
answer1022
viewsA: Displaying images via Mysql Php URL
First take care how you are doing this insertion in the bank. Use the bind from the PDO to avoid SQL Injection. Once inserted the information in the database, through a select you can redeem the…
-
0
votes1
answer64
viewsA: Load variables in external php
I didn’t understand it very well, but if these PHP variables are set ($_GET) on the page you call the modal, just do something like. <?php $data = array('user_id' => $_GET['user_id']); ?>…
-
3
votes2
answers85
viewsA: Add form fields with jQuery to be sent in php
As suggested above, to receive this form easily, just put the 'name' attributes as array. Following your logic of enumerating the blocks, follows a simple example. NOTE: Do not duplicate an element…