Skip to content

Tag: html

Delete MYSQL DB Entry via PHP / HTML Button

Hey. Iam learning PHP and MYSQL atm. So i wrote already code which will display everything from my database nicely into HTML. I create also a button which says Delete. Now i want to write a Code which actually Deletes the specific entry (all have an ID ) but iam kinda lost. i know the command is: $sql = &#822…

Redirecting users to different pages after login

i have this website and i want to redirect users to 3 different pages, i have created 2 sign up pages that has a hidden field called role with different values on each of the sign up pages, one being “corporate”..So i used the script below to redirect the user based on the account type he or she c…

How do I send all the rows in the table?

You are going to send the full line value using form tag. However, if you send a value, only the value in the last row is sent. How should it be modified? in this table code and receive page code I want result When I submit id 1 rows. Received Page receive value id:1 / corporate_num:1/ store_mbrno:1 When I su…

PHP Issue with isset function

I’m making a contact form for my website that uses php to send the inputted information to my email. My issue is that the isset php function returns false. I’m not sure why this is. Here is my php …

Bootstrap Dropdown menu issue on mobile

I will need some help with the menu showing on mobile. When the STORE menu is clicked on mobile version it does not expand and instead closes the general menu. Here is the link of the web page. Any help will be appreciated. <body> looks like Menu HTML Answer You have 2 Bootstrap navs, one inside the oth…

Update database with a live choice made by client

How to update a specific cell in phpmyadmin with jQuery after appending a specific div to a group, code is below the problem is when the item getting updated in database, it became always Group 2 which is the second update. So how to update the database with the selected group on a side question is it better …