Posts by Sérgio Ribeiro • 156 points
5 posts
-
2
votes1
answer53
viewsA: Place only one item per line in a Listbox
You should be able to resolve the situation with CSS only. You must change the display of each item to display: block.
-
4
votes2
answers1767
viewsA: SELECT with keyword search
The SELECT command doesn’t look bad. This is if you want to select records where COLUMN2 has values starting with the letter To maíuscula. The synthesis of LIKE is simple: % is a wildcard. Serves to…
mysqlanswered Sérgio Ribeiro 156 -
2
votes1
answer67
viewsA: Image upload saves only first image in database
You’re using the same ID to insert all the images. I understand that’s what you want, to link all the images to the same record, but is your DDL prepared for that? Two Inserts for the same ID in…
-
2
votes1
answer311
viewsA: Javascript data array for PHP
If what you have assembled is in accordance with what this link demo, the addition of the products is being made only at the document level, IE, Javascript is creating elements in Runtime. Now, when…
-
1
votes1
answer256
viewsA: Array php go through
Assuming this structure holds, you can get it with a simple foreach: <?php $consortiums = array(); foreach($arr as $arri) array_push($consortiums,$arri['car']->consortiums);…