Posts by Atila Silva • 877 points
56 posts
-
0
votes2
answers174
viewsA: array to string conversion error
Normally, this error occurs when you try to directly insert an array type variable into the query. This is because the database does not accept this type of data. To save an array to a record you…
-
0
votes3
answers6393
viewsA: How do I make icone font awesome change the color to indicate the current page?
That worked perfectly: <!DOCTYPE html> <html> <body onload="Active()"> <link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css"…
-
0
votes3
answers6393
viewsA: How do I make icone font awesome change the color to indicate the current page?
You can change the css class with a conditional. Try to get the page link with a javascript function. And add the function with the on load event in the body of the site. <script> function…
-
2
votes1
answer1303
viewsQ: How to block access to a page from the url
I need to block the access of a Php page directly accessed by the url
phpasked Atila Silva 877 -
0
votes1
answer24
viewsQ: How to select records in a table using as reference the datetime present?
This select returns me the oldest records to the future. But I wanted to exclude from the results the events that have already passed and first display the current event. SELECT id, programa,…
-
0
votes1
answer58
viewsQ: How to sort a list by current time and next dated records
I have the following table containing the schedule of the day of the week "Sunday" of a radio: (id,script,hora_ini,hora_end,link) I want to get the first 3 programs using as reference the current…