Skip to content

Tag: html

How do you fetch data from the database? [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 last year. Improve this question I created a row in my database named “temperature” and wanted to include it in a t…

Add HTML table data to $_post

I wanted to add a Dictionary to PHP $_POST, Dictionary will be containing the data of the html table such that the columns heading are the keys and values(of respective key) are the list containing the table data(row wise) of their respective column. HTML example I wanted to add this data to a dict(internal S…

How to submit 3 different forms with just one button in PHP

I am creating a multi-step form and need to ”upload”/save some information into a database. It consists of 3 forms. The problem is that only the last form is sending the information and that’s also where the submit button is. Code sample below: As I said, only the last form is sending the da…

How to remove specific html tags with contents in php?

I have some contents in string format include some unwanted html tags and its content. I am looking for a way to remove them but still could not find a perfect solution for the purpose. Method 1 Normally, we use strip_tags to remove the tags but it reserves the text content inside the tag. Method 2 Then I tri…

Is it possible to use placeholders on ?

I’m currently working on at the displaying of information from a database. I was making a summary site where you can only see the important things of a table. After that i made the first element as an <input type=”submit”> in a <form>, so u can click it and come to the detail sit…