Today at 8:29am, Ryan Bowman said:

>So I'm in the process of learning SQL.  Isn't there a way to dynamically
>build a web page from an sql database?  Where would be a could place to
>learn this?  I've been looking around but can't seem to find anything.

I would highly recommend doing it with PHP. In a nutshell, it is basically
inserting an SQL query into your web page and then generating some HTML
in a loop as you read each row of the result.

You can probably find a PHP + SQL/MySQL tutorial on the web that would
show you what you need to get started.

Of course, there are lots of other ways, including a perl script that
generates a static HTML page, or run the same script as a CGI. The
possibilities are endless. You could even make a sed script that
interacted with the mysql client and munged the output into html. But PHP
is one of the nicest and easiest ways to do it.

Mac

--
Mac Newbold             MNE - Mac Newbold Enterprises, LLC
[EMAIL PROTECTED]       http://www.macnewbold.com/

____________________
BYU Unix Users Group 
http://uug.byu.edu/ 
___________________________________________________________________
List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list

Reply via email to