Posts by Bernardo • 72 points
4 posts
-
0
votes2
answers50
viewsA: number loop, removing some that has already been used
This is the result that comes from your database: $dados['total'] = 150 $dados['num_pagos'] = '5,8,9' You have to change $dados['total'] for $dados['num_pagos'] and can put a else also: $num_pagos =…
-
-2
votes2
answers461
viewsA: Compare if there is already a record in BD Mysql
SELECT count(*) FROM agenda WHERE agenda_sala = <id_da_sala> AND agenda_hora_inicial = <hora_inicial> AND agenda_hora_final = <hora_final> AND agenda_data_inicial =…
-
5
votes2
answers48943
viewsA: How to change the color of a single link?
You can go directly in the style of the link: <a href="#" style="color: #F00">teste</a>
-
1
votes2
answers83
viewsA: How to make multiple themes for a website?
Not necessarily you need to save in bank. You can use javascript to check which Theme used and load it. Here’s an answer on how to load the CSS by Javascript:…