Skip to content

Tag: php

Laravel validate at least one item in a form array

I have a form with a series of numbers in an array: I would like to validate that there is at least one of those input fields that has a value. I tried the following in my OrderCreateRequest, yet the test is passing: Am I missing something? Answer I think you need a custom validation rule like the following b…

set the input type = date min from another input type = date

Hi i’m a rookie in html and been struggling in this inputs, i just want to know how to set the second input minimum date from the first input selected value? i’ve already searched and i just can’t get the right answer… Answer PHP is server-side script that only runs on the server (not …

pgsql extension is not loading

I am trying to use pgsql extension on Windows 10 64-bit (WAPP). I have: restarted Apache uncommented all postgresql extensions in php.ini used LoadFile to load pgsql.dll moved pgsql.dll to Apache bin (I tried both dll from php folder and from postgresql) But still no result. pgsql is visible only in php.exe -…