Posts by Antonioli • 92 points
6 posts
-
1
votes1
answer139
views -
1
votes1
answer117
viewsA: PHP - Pattern in Datalist
Datalist is not yet compatible with all browsers. As you want to list predefined categories, the best option would be to use the tag select, instead of input with datalist. Your code would look like…
-
0
votes1
answer41
viewsA: How to insert a keyword into a database search already performed
I don’t have enough reputation to comment, so I ask you: can you confirm that all users have been stored as array in the $usu_info_column variable? And what is the data structure?…
-
1
votes2
answers1390
viewsA: How to go through an array of objects accessing each element of the array with PHP
PHP provides a way to define objects so that it is possible to iterate through a list of items, such as the statement foreach. By default, all visible properties will be used for iteration. Example…
-
-2
votes4
answers167
viewsA: Help with PHP and htacess Friendly URL
Assuming you are using Apache2 with the mod_rewrite enabled on your PHP server, you must create a file .htaccess at the root of your site with the following code: RewriteEngine on RewriteRule…
-
2
votes1
answer100
viewsA: Mysql and PHP grouping
Instead of using SQL’s GROUP BY, let’s merge the names in sequence in the PHP code. Would look like this: $SQL = "SELECT * FROM clientes ORDER BY id"; $RSS = mysql_query($SQL, $conexao); while($RS =…