Posts by Gisele • 35 points
6 posts
-
0
votes1
answer50
viewsQ: Htaccess does not correctly validate the redirect rule
Has in htaccess in which the regex works perfectly without numbers in the rule, but with numbers does not work properly. RewriteRule ^([a-zA-Z]{1,20})-to-([a-zA-Z]{1,20})-([a-zA-Z0-9-]{1,30})\/?$…
-
0
votes1
answer62
views -
1
votes1
answer471
viewsQ: Foreach - Pagination with images
I’m trying to display images instead of numbers in the pagination. I need help getting inside the for these images that are coming from the variable $aImages in the foreach, $maximo = 1; $pagina =…
-
0
votes1
answer60
viewsQ: Print all images from another table without repeating the title
I have the two tables below table IMAGES id_imagens | diretorio_imagem | post_id 1 imagem1.jpg 1 2 imagem2.jpg 1 3 imagem3.jpg 1 4 imagem4.jpg 1 5 imagem5.jpg 2 6 imagem6.jpg 2 7 imagem7.jpg 2 8…
-
0
votes2
answers75
viewsQ: View images that are in another table
Hello, I have the two tables below: Table IMAGES id_imagens | diretorio_imagem | post_id 1 imagem1.jpg 1 2 imagem2.jpg 1 3 imagem3.jpg 1 4 imagem4.jpg 1 5 imagem5.jpg 2 6 imagem6.jpg 2 7 imagem7.jpg…
-
2
votes1
answer1421
viewsQ: Inner Join - return by name id in column of another table
I have two tables in DB: table category: id_categoria | nome_categoria 1 camisetas 2 estrelas table post: id_post | título | resumo | conteúdo | categoria_id 1 teste lorem ipsum 2 2 test2 lorem…