Current location: Hot Scripts Forums » Programming Languages » PHP » dynamic forms


dynamic forms

Reply
  #1 (permalink)  
Old 02-18-04, 07:04 AM
fadi fadi is offline
New Member
 
Join Date: Feb 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Question dynamic forms

I am trying to do a purchase order form using PHP and MYSQL and I am having problems with the getting the data from the database and put it in a dynamic form (Raw by Raw). is there a way to program a DBgrid with php and mysql.
Reply With Quote
  #2 (permalink)  
Old 02-19-04, 02:40 AM
blaw's Avatar
blaw blaw is offline
Junior Code Guru
 
Join Date: Dec 2003
Location: Vancouver, BC, Canada
Posts: 550
Thanks: 0
Thanked 0 Times in 0 Posts
Hello,

Remember, PHP relies on (X)HTML for screen output, so it can be said that whatever HTML doesn't support is generally not supported by PHP. However, you can mock DBGrid (or mostly anything you see in standalone applications, such as tabs, tree structures, etc), and displaying query result row-by-row, field-by-field and make them all editable is certainly doable with PHP (get the data-to-edit and run a loop to place them in a table with textboxes, etc, in each cell).

One limitation to note, however, is that PHP is not strongly event-driven, so you need to somehow reload("submit") the page in order to save the changes made to the grid.

You might also want to take a look at ASP.NET, which I heard is event-driven. HTH.
__________________
Blavv =|
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Dynamic Forms - How do I add Combo Boxes on the fly assemblage JavaScript 0 02-06-04 10:03 AM
how to disable "Enter" key in post forms magda JavaScript 2 11-08-03 12:07 AM
PHP - script for dynamic daily text...HELP! fpardi PHP 3 10-13-03 03:02 AM
Passing a value between forms lordmerlin PHP 1 10-07-03 05:43 AM
dynamic uploader (progress bar) [PL]Greg PHP 8 07-02-03 12:07 PM


All times are GMT -5. The time now is 09:04 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.