Database Journal
MS SQL Oracle DB2 Access MySQL PostgreSQL Sybase PHP SQL Etc SQL Scripts & Samples Tips Database Forum

» Database Journal Home
» Database Articles
» Database Tutorials
MS Access
SQL Scripts & Samples
» Database Forum
» Slideshows
Free Newsletters:

News Via RSS Feed

Database Journal |DBA Support |SQLCourse |SQLCourse2

Featured Database Articles


Posted Nov 9, 1999

GUFE Walkthrough: Part 4 - Page 5

By Aaron Weiss

Speaking of &createPage ...

Click here for code example 7.

Unlike the varied responsibilities of &resultTable, the above subroutine has one straightforward goal: insert the HTML from &resultTable into the HTML template page. We open up the template file, specified in $templatePage, join the file into one long line, and search-and-replace the known comment tag with the entire HTML chunk that GUFE has generated. This subroutine returns its result -- the entire HTML page -- to the calling statement, which was print(), causing it to be sent to the browser. Sweet peas.


We've spent a lot of time this month looking at segments of code and narrating segments of code. But the real core of this article is the code itself. If you want to implement, modify, or better yet, understand GUFE's application to your own web-based database you should spend time reading, tinkering, reading, and tinkering some more with the full unmodified GUFE script.


MySQL Archives

Latest Forum Threads
MySQL Forum
Topic By Replies Updated
MySQL in high availability and transction secure banking application klamor 1 August 28th, 10:24 AM
MySQL rollback UAL225 1 August 28th, 10:15 AM
Browsing a DB file that uses MySql finleytech 1 July 26th, 10:51 AM
php cookie won't pass variable to next page ITdevGirl 0 June 22nd, 12:13 PM