Posts by Paulo Fernando Cé • 7 points
5 posts
-
0
votes1
answer63
viewsQ: Print dynamic query
I have a query in a system where the user selects the month and the corresponding records are shown on the same page. I want to print the result of the query but how the form sends via GET: <form…
-
0
votes2
answers1041
viewsA: How to check if a date is already in the correct php format?
$date = explode('/', $vigenciac); if (!checkdate($date[1], $date[0], $date[2]): $message .= 'Invalid Effective Date Format.'; endif; I use this function and works perfectly for date input.…
-
0
votes0
answers538
viewsQ: Confirmation of registration deletion with javascript
Good morning, although there are some questions on the subject, I did not find the appropriate answer so put here my question: I have an DELETE button with the following code: <a…
-
0
votes4
answers2232
viewsA: Select option selected
Well, by changing the code and replacing the variables I finally got the result I wanted: <?php foreach ($results as $rs) { ?> <option value="<?php echo $rs["nome"]; ?>" <?php if…
-
-1
votes4
answers2232
viewsQ: Select option selected
I need to leave the select option selected according to the field saved in mysql. The form is to edit so it displays the fields available with foreach. Ex: <select name="segurado" > <option…