[PHP-DB] Variable from PHP to HTML...

2002-11-12 Thread NIPP, SCOTT V (SBCSI)
I am attempting to create a form of system names that is populated from a database query. The database query is working fine, and the form population is actually working fine also. The question I have is about organizing the variables that result from the form. I want to use the system

Re: [PHP-DB] Variable from PHP to HTML...

2002-11-12 Thread Lisi
form name=form1 method=post action= table border=0 align=center ?php do { $sys = $system['Name']; if ($cnt == 1) { $cnt = 2; echo tr; ? td width=161input name=$sys type=checkbox value=name ?php echo $sys; ?/td Your input box should be the following: input

Re: [PHP-DB] Variable from PHP to HTML...

2002-11-12 Thread Peter Beckman
If the last reply didn't help you, try this: tdinput name=?php echo $sys; ? type=checkbox value=name?php echo $sys; ?/td Another way to write, if you aren't worried about ? being used by another processor: tdinput name=?=$sys? type=checkbox value=name?=$sys?/td Peter On Tue, 12 Nov 2002,