Posts by pdonatilio • 93 points
6 posts
-
0
votes2
answers115
viewsA: simple dom php 404 error
I solved the problem by making the following change: Replace that: $teste = new simple_html_dom("http://www.btolinux.com.br/error/"); echo $teste->original_size."<br>";…
-
0
votes2
answers115
viewsQ: simple dom php 404 error
I have the following code: <?php include './simple_html_dom.php'; //Este link existe $teste = new simple_html_dom("http://www.btolinux.com.br/"); echo $teste->original_size."<br>";…
-
1
votes2
answers282
viewsA: Conflict between Simple_html_dom and Nonobject-Oriented functions
Resolution I basically took the advice of @Guilhermeoderdenge and researched alternatives to the deceased mysql_connect() and used the PDO, and what was not my surprise to work only with objects the…
-
1
votes2
answers1107
viewsA: Update the value obtained in an Edittext
I took this code from another forum, I believe it might be useful to you: final EditText edittext = (EditText) findViewById(R.id.edittext); edittext.setOnKeyListener(new OnKeyListener() { public…
-
1
votes4
answers2880
viewsA: Is it possible to reference a column that is not a primary key in another table?
Imagining a scenario where: Table1: id (primary key of table 1), id_2, name, CATEGORY (new field) Table 2: id_table 2 (primary key of table 2), id_2 (of table 1), name, CATEGORY (new field) A query…
-
6
votes2
answers282
viewsQ: Conflict between Simple_html_dom and Nonobject-Oriented functions
I’m developing an app that has to access a list of websites stored in a database, upload all their links. It’s a test application but I’ve found a difficulty. The routine is this one: function…