Posts by Lollipop • 4,918 points
260 posts
-
3
votes1
answer84
viewsA: pseudo-classes in CSS
Take this example: 1st HTML -> <div id="acordeon"> <a href="#primeira">Primeira</a> <div id="primeira"> <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit,…
-
1
votes1
answer351
viewsA: Page size different HTML/CSS screens
Use this to control width and height and other properties: iframe, object, embed { max-width: 100%; max-height: 100%; }
-
0
votes4
answers1452
viewsA: Is there an event that captures mundanes the size of an HTML element?
[UPDATED] Javascript: $('#test_div').bind('resize', function(){ console.log('resized'); }); $(window).resize(function(){ $('#test_div').resize(); }); Example: http://jsfiddle.net/sgsqJ/4/…
-
22
votes1
answer107590
viewsA: How to insert favicon into an HTML?
1º - Manage your Favicon on this site: http://tools.dynamicdrive.com/favicon/ 2º - Use this line of code and 3º continue "playing": <link rel="shortcut icon" href="caminhodoarquivo/favicon.ico"…
-
1
votes2
answers201
viewsA: I have doubts whether this would be the right way to make a connection using the PDO class
In PDO you only need a connection for the entire "existence" of the script, exactly the same would do with mysql_*. $conn = new PDO( 'mysql:host=localhost;dbname=example-pdo', 'andre', '123456',…
-
0
votes2
answers89
viewsA: Database Stopped
The problem is on the table car, that does not exist. See if the table name is not cars. With the 's' in the end.
-
1
votes1
answer887
viewsA: What is the SQLITE directory?
For that I made: File f=new File("/data/data/seu.app.package/databases/seu_db.db3"); FileInputStream fis=null; FileOutputStream fos=null; try { fis=new FileInputStream(f); fos=new…
-
0
votes1
answer140
viewsA: Password-Master with PHP
You can create a field in the table with the name senhamestre and when it’s time to make the conditional for the password, make a OR for senhamestre. Thus may one log in with the password value or…
-
3
votes3
answers4720
viewsA: Implement HTTP POST and GET Requests on Android
Java : 1º First put your parameters in array: import org.json.JSONArray; import org.json.JSONObject; private static final String CAMINHO_URL = "http://www.seusite.br/meuJson.php"; private static…
-
2
votes2
answers166
viewsQ: Insert the last table data into a second table
I have a problem to give INSERT in PHP. I have a table called products_1 and another one called products_2. Table 1 has the same products as the second one, but with 5 more products, i.e., ID 11,…