Posts by xdam98 • 311 points
10 posts
-
1
votes0
answers22
viewsQ: Remember the status of the item with cookies
https://jsfiddle.net/kmvo2wum/ I wanted, in case the user opened one of the main items, giving refresh, to remain open. I’ve tried it a few ways but I haven’t been able to, if anyone can help, I’d…
-
-1
votes1
answer5472
viewsQ: Does Wamp not work in windows 10?
I installed windows 10 and wamp n turns on, it is " Offline Server", it is still n compatible with windows 10?
-
0
votes2
answers43
viewsQ: Retrieve and Print selected value of a <select>
I have 1 <select></select> with various options and wanted to use jquery to recover the value of the one I selected and print in the div test, someone can help me? <select…
-
0
votes2
answers67
viewsQ: Return image value
I have this html code: <label> <img class="jogo" value="lol" src="../cdn/img/jogos/lol.png"> <img class="jogo" value="csgo" src="../cdn/img/jogos/csgo.png"> </label>…
-
11
votes1
answer3443
viewsQ: User-friendly URL using HTACCESS
I have the following link: dominio.com/?p=filmes_v&m=tt081692 Man .htaccess <IfModule mod_rewrite.c> RewriteEngine On RewriteRule ^film/?$ index.php?p=filmes [NC,L] RewriteRule…
-
1
votes2
answers176
viewsQ: Retrieve data/text from other websites with PHP
It has to recover data from other sites with php? Like, I liked to make a streaming site and wanted the ratings of the video (or something) to be constantly updated in relation to imbd.…
-
2
votes1
answer479
viewsQ: Without apache permission 2.4.9
I created a local server, and when access by 127.0.0.1 I can access, when I enter by my ip, gives this error: Forbidden You don't have permission to access / on this server. I’m in windows 8…
-
3
votes2
answers8263
viewsQ: Assign Mysql query result to a PHP variable
As if, after counting how many records I have in a database, how do I put the value inside a PHP variable: $sql = mysql_query("SELECT COUNT(*) FROM `users`"); $row = mysql_fetch_array($sql); $total…
-
0
votes2
answers5894
viewsQ: Fastest way to count how many records I have in a MYSQL table
As the title says I wanted to know the fastest way to count records from a table of thousands of records.
-
1
votes3
answers52
viewsQ: Mysql -> Assign Id’s to records
So I’m having doubts about something that might not be complicated, I wanted to assign values (id’s) to the records that return from this: SELECT * FROM `aldeias` where `userid`='-1' Doing this will…