Posts by Marcos Sarges • 73 points
4 posts
-
-3
votes1
answer444
viewsQ: Converting a result from mysqli_query() to String
First, I’m not good at writing, but I’ll try to explain the problem I need to print only one cell (amount of votes already taken) of the query result table, but I am unable to access the value of…
phpasked Marcos Sarges 73 -
3
votes1
answer38
viewsQ: I don’t understand this form of static variable declaration
Why this statement seems neither method nor attribute? static{ } this is the original code private static MessageDigest md5 = null; static { try { md5 = MessageDigest.getInstance("MD5"); } catch…
-
2
votes1
answer500
viewsQ: I am unable to load the image that shows error using jQuery
Today’s exercise was to load an image while error on the other image. First I tried using the function .erro(), but found that it was discontinued in version 3.0. Then I tested the function .on(),…
-
2
votes1
answer395
viewsQ: Substitute function for jQuery’s . error() function
I need to know what function to use instead of the function .error(). $('img').error(function() { $('img').attr('src','img/erro.gif'); }); jquery 3.2.1 does not have this function. How can I fix…