Mailing List Archive



Back to the month index Back to the list index

Antoine (acdev@tech-quimper.fr)
Fri, 06 Sep 1996 09:37:58 +0100


Message-Id: <322FE2E6.2AE4@tech-quimper.fr>
Date: Fri, 06 Sep 1996 09:37:58 +0100
From: Antoine <acdev@tech-quimper.fr>
Subject: Re: [mSQL] W3-msql problem

Gyula Szemenyei wrote:
>
> Hi folks,
>
> I'm very new at msql.
> We are running Digital Unix 3.2 and Apache httpd 1.0 and msql v1.0.13.
>
> I tried to set up a test database. I successfully added new items to
> the test database via html document but I couldn't browse it:
> =========
> HTML>
> <TITLE>The Bookmarks</TITLE>
> <BODY>
> <BODY BACKGROUND="http://www.rkk.hu/back.gif">
> <! msql connect>
> <! msql database bookmarks>
> <! msql query "select name, url from bookmarks" q1>
> <ul>
> <! msql print_rows q1 "<LI>@q1.0 \n"
> </ul>
> <! msql free q1>
> <! msql close>
>
> </BODY>
> </HTML>
> =========
> The output was a blank page.
> Please help!
> Thanks in advance,
>
> Best Regards,
> Gyula Szemenyei
> -|-------------------------|-
> | |
> |http://www.rkk.hu/~szemgy|
> | |
> -|-------------------------|-
>

Hello,

The syntax of your script seems to be correct. Perhaps you invoke the
page directly instead of calling w3-msql interpretor before. The correct
path to your page should be
http://path_to_w3-msql_executable_file/w3-msql/yourpage.html.

I hope it helps.

Best regards
Fabrice Lhomme

flhomme@tech-quimper.fr
http://acdev.tech-quimper.fr
--------------------------------------------------------------------------
To remove yourself from the Mini SQL mailing list send a message containing
"unsubscribe" to "unsubscribe" to msql-list-request@bunyip.com. Send a message containing
"info msql-list" to majordomo@bunyip.com for info on monthly archives of
the list. For more help, mail owner-msql-list@bunyip.com NOT the msql-list!