0
I am creating a method that will update some data, including an image that will be stored in longblob. The function declaration looks like this:
public function uploadProjeto(string $tipo, string $titulo, string $area, string $ano, string $endereco, string $descricao){
But instead of putting string, how can I get the blob?
If you are not having coding problems, or memory problems, you can use string without any problem.. He’s just a string after all. PHP does not have a native type of object that, when instantiated, would check if the BLOB is valid, that would be the only advantage of typing, in my view!
– Flávio Santos