Help with generate_select_list

teryhill wrote on Friday, January 23, 2015:

What am I doing wrong. I get my list but I am not saving the selection from the list.

Terry

<?php echo xlt('Title Code Value'); ?>:

			<td><?php

            $res = sqlQuery("SELECT title FROM list_options WHERE list_id = ? AND option_id = ?", array($list_id,$currvalue));

           echo generate_select_list('title', 'Title_Code_Value',$res['title'], 'Title Code Value', ' ', '', 'typeSelect(this.value)');
			
			
			
            if ($res > 0) 
                    $selected = text(xl_list_label($res['title']));


		$title_code_value = $selected;

			?></td>
		</tr>

teryhill wrote on Friday, January 23, 2015:

Got it Never mind

Terry

tmccormi wrote on Monday, January 26, 2015:

sorry, was out all weekend …

Tony McCormick, CTO

Support: 866-735-0897, Direct: 713-574-6709
My Calendar: http://bit.ly/XznvDo
… we have to slow down a bit to be able to speed up a lot… (me)

On Thu, Jan 22, 2015 at 6:27 PM, Terry Hill teryhill@users.sf.net wrote:

Got it Never mind

Terry

Help with generate_select_list
https://sourceforge.net/p/openemr/discussion/202506/thread/82427d66/?limit=25#0540

Sent from sourceforge.net because you indicated interest in
OpenEMR / Discussion / Developers

To unsubscribe from further messages, please visit
SourceForge.net: Log In to SourceForge.net


Please be aware that e-mail communication can be intercepted in
transmission or misdirected. Please consider communicating any sensitive
information by telephone. The information contained in this message may be
privileged and confidential. If you are NOT the intended recipient, please
notify the sender immediately with a copy to hipaa-security@mrsb-ltd.com and
destroy this message.