Posts by Leandro Ferreira • 107 points
13 posts
-
0
votes1
answer26
viewsQ: Problems with json and php listing
I have a line of json code that comes from a variable and I want to list this json list to enter a database but I can’t read it. $datesSite = file_get_contents('site'); $Puxa_titulo =…
-
2
votes1
answer253
viewsQ: Creating images with text 'imagecreate()'
This is going to be quite difficult to understand, because I don’t have a very dynamic explanation. I will try to be as clear as possible! I want to create an identical letter generator to this:…
-
4
votes2
answers545
viewsQ: Problems with the result Curl and file_get_contents
I’m trying to get an image from a website to use imagecreatefrompng(), but the backlash was never what I expected... Url:…
-
0
votes2
answers851
viewsA: problem with emphasis on jquery autocomplete
realized that you use utf8-Decode-Encode have you considered changing the language of the database I don’t know if I would solve it but it gets much better OBS: $con =…
-
-2
votes1
answer455
viewsQ: Remaining time system
I have a date generator and in it I mark the day that a certain event will happen. As seen in the image: This system returns a value in time(). I need a code that says the remaining time, for…
-
1
votes4
answers3032
viewsQ: Take part of the html content stored in a variable
I have a problem that I could not find a solution on the net. Simple I want to take only the second <p> of the text, of div in the case, it is + - so: <div id='central'> <p>O…
-
1
votes1
answer64
viewsQ: Trying to make Alert on all href of the page but only one is displayed
I’m doing some tests and I came across this very boring mistake. It’s easy to explain: I want Jquery to give the alert in all the <a> of the page, but it only alert once and nothing more.…
-
0
votes0
answers53
viewsQ: Iframe and jquery problems
Well I have a small and big problem with iframe. <iframe src="index.php" frameborder="0" name="site" class="site"></iframe> <iframe src="toca/player.php?volume=100" name="player"…
-
0
votes2
answers43
viewsA: Sum of tables according to session id
<?php error_reporting('0'); mysql_connect('localhost', 'root', 'pass') or die ('erro-01'); mysql_select_db("database") or die ('erro-02'); $total= mysql_num_rows(…
-
0
votes1
answer371
viewsA: Fixed footer at the bottom of the page
To fix to html is used pasition Fixed in case your code would be: body { margin:0px; padding:0px; } footer { width:100%; position:fixed; left 0px; bottom:0px; } With this it stays fixed at the end…
-
0
votes2
answers477
viewsA: Change background with js
Good with javascript is more difficult... I will use jquery if you want to use ! <div id="azul">azul</div> <br> <div id="vermelho">vermelho</div> <br> <div…
-
0
votes1
answer53
viewsA: I cannot enter user through/php database
<?php $acao = mysql_escape_string($_GET['matricular']); if($acao == 'sim'): $matricula = htmlspecialchars($_POST['matricula'], ENT_QUOTES); $nome =…
-
1
votes1
answer227
viewsQ: Error with Jquery and html alert
I’m making an alert with jquery.... its function is to show the user the error and depending on the action lead to a following page... well already tested and the error is in jquery because when I…