Skip to content

Tag: php

How to write html tag inside blade form object label..?

I have to write “Name * : “, where astrix will be red. i am creating label as: But this will result in:Name with html tag span tag. thanks Answer For this you have to pass an array. Something like below: And style this require class below way. Hope this should work. Another way, UPDATED: I think, …

How to embed Google Drive images into a webpage?

I have a website that I am designing and I want to use a folder in a google drive to store the images. The issue is that I can’t seem to find how to get the URL for these images. The actual use of this needs to be that anyone with permissions for the google folder can drop in an

How to use SQL prepared statement in php pdo

I create prepared statement for sql that give me the right result in mysqlWorkbench, but when I tried to use the same query with php pdo, it returns me an empty Array. So how to use my prepared statement with php pdo ? This is my code: Answer I found a solution that give me the right result. I create