Posts by Flávio Rodrigues • 31 points
3 posts
-
2
votes3
answers1650
viewsA: How to turn a query into a json?
I would suggest doing as @Jose said, but adding the id as the array index. (assuming here that code is the id) $pessoa = array(); while ( $linha = mysql_fetch_array( $chamaDados ) ) { $pessoa[…
-
1
votes4
answers1022
viewsA: How to keep column 'order' in sequence even after editing the order of records?
You can swap... take the value fromPosition, use this value to change the value of the order of the record that is in toPosition, then change the record that was actually changed... that way, you…
-
0
votes2
answers236
viewsA: How can I adjust the height in a Wysiwyg box
I would recommend using the Advanced Custom Fields module, simplifies this process and works well. With it you can create specific fields (as in your case, a testo field with Wysiwyg) and associate…