Welcome, Guest. Please login or register.
Did you miss your activation email?
May 27, 2012, 03:19:14 AM

Login with username, password and session length
Search:     Advanced search
Wollen Sie dem WebsiteBaker Team beitreten?
Nähere Informationen finden Sie unter hier und auf unserer neuen Webseite.
155555 Posts in 21715 Topics by 7737 Members
Latest Member: gx-world
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: having table data displayed on the form  (Read 439 times)
paxil

Offline Offline

Posts: 5


« on: May 14, 2008, 09:02:03 AM »

i am looking for help on how i can have data called from a table in the database and have the extracted data as a value in a form.

usually when not using website baker , a statement like the following ends up working well.

<td style="width: 635px;"><input maxlength="5" size="6" name="refnum" readonly="readonly"
            value='<?php echo $record['fault_refnum']; ?>'><br>

I tried the same in website baker but it doesnt work. can someone help me out on how to use extracted data from a table and have it displayed in the html form field.

Cheers
Pax
Logged
ruebenwurzel
WebsiteBaker Org e.V.

Offline Offline

Posts: 7973



WWW
« Reply #1 on: May 14, 2008, 09:42:03 AM »

Hello,

so you try to read datas from a non WB table right?

If this is the case basically you need first to connect to this database, then read the content, close this connection and go back to WB database.

How this can be solved is written here in the forum in several threads. So try a search in the forum.

Matthias
Logged
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!