Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I pre-populate input fields with data retrieved from a database?

0
Posted

How do I pre-populate input fields with data retrieved from a database?

0

There are several solution. For example, you can send them over an URL with the syntax http://www.foo.com/calc.htm?bar=56 will set the field call bar to 56. You name cells in Excel. This assumes that you are prefilling an input cell. Here is a better solution that can be used to set any value. If you know ASP, the simplest solution is to take the HTML page, make it into a ASP-page over replace statements like p1A1 = 1234 with p1A1 = <%= reference to variable which contains the value for cell A1 on sheet 1 %> where 1234 is the default value that you set in Excel and which you want to read from the database instead. This solution also works for PHP.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123