Posts by flourigh • 887 points
62 posts
-
7
votes4
answers147
viewsQ: Is there any way to decrease this script without losing functionality?
<script src="http://ajax.aspnetcdn.com/ajax/jQuery/jquery-2.1.4.min.js"></script> <script> $("div#contenthead div.left span").hover(function() { $("div#contenthead…
-
1
votes1
answer472
viewsQ: character error when decoding a variable from js to php
Good morning, I’m a problem that I do not know the reason, I have a code encoded in Base64 and I inserted this code into a js variable, from php to js, it worked more perfect impossible, ai I passed…
-
2
votes1
answer325
viewsQ: Privacy policy and cookie blocking in the browser
Good morning, I put a system to remember users in my program in php, I used cookies for this, as I found in Google an explanation about them, but I came across the following: IE and some browsers if…
-
1
votes2
answers67
viewsQ: Search only a random part within a select mysql code
The problem is this, I have the code concatenated, I need to see this code concatenated if part of it is in the table, ie when joining field 1 and field 2 with PHP, before searching in the table, a…
-
0
votes1
answer163
viewsQ: jquery element change with time interval
I would like to make 3 or more animation blocks that, when clicking, keep changing according to the seconds, until someone clicks on one of the objects. The function is working to click. Clicking…
-
1
votes5
answers923
viewsA: Help with PHP and Mssql special characters
in your data bank, the collation has to be set to utf8_geneal_ci or something related, in your php you have to format to utf8 without good and in the connection of the database you have to instruct…
-
1
votes1
answer1448
viewsA: How to show an image whose path is in the database?
Good morning, have you ever first tried connecting to the database by PHP? you have to have in the database the following information, name and extension of the image, then in php you put in a…
-
2
votes2
answers121
viewsQ: Which of these three codes is the most recommended in memory and speed?
I would like to know which of these codes would be more recommended for speed, since the three do the same job: 1 $rand_length = 1; $rand_rules = range(0, 9); shuffle($rand_rules); $rand_rules =…
-
2
votes3
answers956
viewsQ: Variable array assignment
There is a correct way to do this highlighted code snippet? $numeros = range(0, 9); shuffle($numeros); $id = array_slice($numeros, 1, 9); $mult =…
-
1
votes2
answers1371
viewsQ: Use mysql_fetch_assoc more than once
I have a big question about mysql_fetch_assoc in while. what happens is the following, I have a page where I do a database search and return to a while existing information with mysql_fetch_assoc,…
-
2
votes2
answers2134
viewsQ: Capture data after character # in browser URL
I have the following URL http://urldosite.u/home#6 that when I move to a variable, it simply cancels out everything after the #. And I really want to pick up just what this after this and this…
-
5
votes2
answers3228
viewsQ: Question and answer with if and Else in Java
No matter what I say, both "yes" and "yes" just show the ELSE. Where am I going wrong? package saudacao; import java.util.*; public class Saudacao { public static void main(String[] args) {…