[Mediawiki-l] wikitext-php-web

Nelson A Li nli at csc.com
Fri Nov 30 14:48:10 UTC 2007


Hello,

I am doing something simple:

1.  put an inputbox to get user input key.
2.  select data record by the key from DB and display the fields in a
two-column table with field names on left and field values (if key is not
in DB, display blanks) inside inputboxes on right side of the table.  Allow
user to make changes to the inputboxes and save the fields back to DB.

1.  A wiki page has been created to display the key inputbox, but I am not
clear on how to get the user input and pass it into my SelectDB.php module.
2.  A template has been created to display the table with field names on
left and field value inputboxes on right, but I don't know how to populate
them with the DB select results.  I have the template linked inside the key
inputbox as a preload page and Mediawiki magically tried to create a page
with key as the title using the template.

I had received some helps from a few experts before.  I do understand that
everybody is busy and my problem can be too trivial to be interesting for
most people.  However, I really need help and any help is appreciated.

Nelson

Computer Sciences Corporation
Registered Office: 2100 East Grand Avenue, El Segundo California 90245, USA
Registered in USA No: C-489-59

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery.
NOTE: Regardless of content, this e-mail shall not operate to bind CSC to
any order or other contract unless pursuant to explicit written agreement
or government initiative expressly permitting the use of e-mail for such
purpose.
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------





More information about the MediaWiki-l mailing list