Skip to content

Multiple if/then arguments in PHP for HTML classes

I would like to have an if/then argument for 2 classes (from the css) for a menu item. One where the menu item is blue if it is NOT the active page, and one where the menu item is red if it IS the active page. I have figured out the active page portion, now I am trying to figure

Is there’s a way to shut down window with php?

I want to shut my window down using PHP, but I haven’t found any good resource. I wonder if there is a way to do that in PHP. Answer Yeah. But no. Please, just please don’t take this too seriously. PHP is a server side language. Which means it has no access to your browser itself. You should try u…

Input password show and hide

I hope I don’t bother you with a question 🙂 . I have little knowledge about writing code, so I encountered an error there are two inputs I added an eye icon with bootstrap when clicked, the password appears the first input works, but the second input does not show the password What do you think is the p…

Fetching Images URL from wikipedia

I’m using wikipedia api to scrape images from api its returning data in json form in which the image Url is like this “https://upload.wikimedia.org/wikipedia/en/f/f7/Canada%…

Viewing Documents Stored Outside the Domain’s Folder [closed]

Closed. This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 1 year ago. Improve this question I’m trying to fetch the files in a folder that it outside the site’s path and, wi…

In modal form get element value correct row

i have problem with getting info in my modal form. I have rows what shows information. Screen shot bellow Then i press button right im getting modal window. Screen shot bellow I want make then i press my button in right get what row info and put in input. My code in php and html MY MODAL FORM code My