Posts by Gabriel • 39 points
10 posts
-
0
votes1
answer149
viewsQ: Redirecting pages with . htaccess php
I wonder if you have how with . htaccess, do the following redirect: Url: https://exemplo.com/sales and https://exemplo.com/admin When the user type or sales or admin he redirects to the page:…
-
0
votes1
answer308
viewsQ: Real-time search with jQuery
I have the following code to do a real-time search with jQuery, searching for values within a table: $(document).ready(function () { $(".nada").hide(); var $rows = $('.linhas');…
-
0
votes1
answer361
viewsQ: Catch date of the next 12 months with php
Good evening people, as I can do, to catch the 1° day of each month, counting as start the date of today, and catching the next day 01/08/2018 and the next 12 months. Try this code:…
-
1
votes1
answer32
views -
0
votes1
answer35
viewsQ: htaccess returns $i
Good evening, I made a code htacces like this: RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^([^\.]+)$ $1.php [NC,L] RewriteRule ^app/([0-9]+) app.php?id=$i The first Rule is to…
-
0
votes1
answer2255
viewsQ: How to select two tables in mysql?
I know this must be an easy question, but I’m a beginner: I have these 3 tables in my bank: In this case, the purchased table is where the user’s Cpf is stored that acquired the course and saves the…
-
1
votes1
answer289
views -
0
votes0
answers81
viewsQ: How to save my page content to onclick url?
Good morning guys, I would like to know how to save the content of my page in the url with a unique id. Like jsfiddle.net For example, when you first access it has the default url: jsfiddle.net, but…
-
0
votes2
answers2335
viewsQ: How can I make a button to load more using jquery?
Good morning guys, I’m making a site that has the posts, but I don’t want to use the paging system, I want to make a button that loads more post, then I wanted to know how I do.. <header…
-
1
votes1
answer27
viewsQ: How do I make echo "Success" and "Failed to appear below the form?"
How do I make echo "Success" and "Failed to appear below the form?" <?php $conexao = mysqli_connect("localhost","root","","projeto"); if (isset($_POST['submit'])) { $nome = $_POST['nome']; $senha…