Search found 55 matches

by AndyGpy
Mon Apr 13, 2009 10:05 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Mysql Parse into Listbox
Replies: 10
Views: 501

Re: Mysql Parse into Listbox

Cheers David, i have managed it,

One question i have is how can i remove duplicate values in a string , is there are PHP command ?
by AndyGpy
Mon Apr 13, 2009 7:32 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Mysql Parse into Listbox
Replies: 10
Views: 501

Re: Mysql Parse into Listbox

bump ;-)
by AndyGpy
Mon Apr 13, 2009 1:54 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Mysql Parse into Listbox
Replies: 10
Views: 501

Re: Mysql Parse into Listbox

My PHP File <?php /*************************************************************************** * Alertz.php * ------------------- * begin : 04/04/09 * copyright : (C) 2009 Andy Guppy * email : webmaster@scotbird.co.uk * * ***************************************************************************/ d...
by AndyGpy
Mon Apr 13, 2009 9:07 am
Forum: [3.0.x] MOD Writers Discussion
Topic: Mysql Parse into Listbox
Replies: 10
Views: 501

Re: Mysql Parse into Listbox

Try again, I have in my HTML Template:- <th class="style14" scope="col"><select name=REGION_FILTER size="1" id=REGION_FILTER> <option>{alerts.REGION_FILTER}</option> </select></th> which is a dropdown list box I have in my .php file $template->assign_block_vars('alerts', array( 'POS' => $i , 'REGION...
by AndyGpy
Sun Apr 12, 2009 8:03 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Mysql Parse into Listbox
Replies: 10
Views: 501

Re: Mysql Parse into Listbox

David,

Any chance of a Templates and Listboxes for dummies please, i have only been php writing for about 2 weeks now.

I am a vb programmer but finding it hard to adjust to php.

Would really appreciate a basic sample / example so i can study and then adjust if you know what i mean.

regards
by AndyGpy
Sun Apr 12, 2009 7:43 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Mysql Parse into Listbox
Replies: 10
Views: 501

Re: Mysql Parse into Listbox

not to sure what you mean, any chance of putting together a rough php file and template so i can see.

Doing it the way i have done doesnt even get one piece of data in the listbox

cheers
by AndyGpy
Sun Apr 12, 2009 7:31 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Mysql Parse into Listbox
Replies: 10
Views: 501

Mysql Parse into Listbox

HI Guys Can i ask for someone to give me an example of how to parse info from a mysql database using templates into a listbox I can parse variables but i cant figure out how to populate the listbox. Latest attempt was $template->assign_block_vars('alerts', array( 'POS' => $i , 'REGION' => $row['regi...
by AndyGpy
Tue Dec 30, 2008 1:10 pm
Forum: 2.0.x Support Forum
Topic: HELP -- $template->assign_block_vars
Replies: 14
Views: 9486

Re: HELP -- $template->assign_block_vars

Once again your a scholar !!

Cheers
by AndyGpy
Tue Dec 30, 2008 12:54 pm
Forum: 2.0.x Support Forum
Topic: HELP -- $template->assign_block_vars
Replies: 14
Views: 9486

MORE HELP -- $template->assign_block_vars

The web page is only open to members, sorry, if needed you can just register and i will delete u later. I have managed to get most of it working but i could do with help on this last bit. I have a table with loads of fields updated by the database displying on HTML. <th scope="col"><span class="styl...
by AndyGpy
Mon Dec 29, 2008 4:22 pm
Forum: 2.0.x Support Forum
Topic: HELP -- $template->assign_block_vars
Replies: 14
Views: 9486

Re: HELP -- $template->assign_block_vars

YIPPPEEEE

moved the <br /> inside the begin and end statement now it working

cheers
by AndyGpy
Mon Dec 29, 2008 4:19 pm
Forum: 2.0.x Support Forum
Topic: HELP -- $template->assign_block_vars
Replies: 14
Views: 9486

Re: HELP -- $template->assign_block_vars

i have tried that and it has the same effect <script src="SpryAssets/SpryTabbedPanels.js" type="text/javascript"></script> <link href="SpryAssets/SpryTabbedPanels.css" rel="stylesheet" type="text/css" /> <style type="text/css"> <!-- .style4 {font-size: 18px} .style5 {color: #660000} .style7 {color: ...
by AndyGpy
Mon Dec 29, 2008 4:10 pm
Forum: 2.0.x Support Forum
Topic: HELP -- $template->assign_block_vars
Replies: 14
Views: 9486

Re: HELP -- $template->assign_block_vars

HTML is :- <script src="SpryAssets/SpryTabbedPanels.js" type="text/javascript"></script> <link href="SpryAssets/SpryTabbedPanels.css" rel="stylesheet" type="text/css" /> <style type="text/css"> <!-- .style4 {font-size: 18px} .style5 {color: #660000} .style7 {color: #003300} .style11 {font-size: 14px...
by AndyGpy
Mon Dec 29, 2008 3:57 pm
Forum: 2.0.x Support Forum
Topic: HELP -- $template->assign_block_vars
Replies: 14
Views: 9486

Re: HELP -- $template->assign_block_vars

so what your saying is this in my .tpl file is wrong ?

<!-- BEGIN user_row -->
<div class="style7 style11 style11 style11">{user_row.LIFE_SPECIES}{user_row.LIFE_LATIN}</div>
<!-- END user_row -->

how do i get a list of all into html ?
by AndyGpy
Mon Dec 29, 2008 3:46 pm
Forum: 2.0.x Support Forum
Topic: HELP -- $template->assign_block_vars
Replies: 14
Views: 9486

Re: HELP -- $template->assign_block_vars

Ok, Done that now i only have one name appearing instead of all names,

Any suggestions on getting round that one ?

regards
by AndyGpy
Mon Dec 29, 2008 2:27 pm
Forum: 2.0.x Support Forum
Topic: HELP -- $template->assign_block_vars
Replies: 14
Views: 9486

HELP -- $template->assign_block_vars

Hi, Can someone help me, i have created a Template Page as per the docummetation section, here is the code <?php /*************************************************************************** * template.php * ------------------- * begin : Saturday, Okt 10, 2003 * copyright : (C) 2008 Raimon Meuldijk *...

Go to advanced search