baseportal
Start

baseportal message board

Welcome to the baseportal message board...

Please read the FAQ.

 
 Selected message: To the list 
    Message from Dave on 9/18 2003, 12:19 +00:00

    Image link - howto


      Hi
      I am looking to use an image link, that also has variable information taken from the other fields. eg

      A buy image <img src="buyit.jpg" with a hyperlink to eg www.buyme.com. I have set up a text field and imported data with the corresponding <img src> parameteres but the images don't show? If I enter the default field (in filed setup)then the image will show in the view fields section. Also I want to pull in for each record field information to be added to the link eg www.buyme.com/add.cfm?product=North+Atlantic+Marine+Chart&price=29.50

      Please help,
      Thanks

    Your reply:

    Name: EMail: WWW:
    Subject:
    Text:
    Timezone:

    Post a new message


 All messages from this thread: To the list 
    Message from Steve on 9/18 2003, 13:45 +00:00
    EMail: steve@armadacomputers.com WWW: armadacomputers.co.uk

    Help with simple restricted search


      I feel a little bit embarrased asking this as I learnt my trade in database programming although that was a few years ago (c/dbase III era) now Im after a quick fix solution and then I promise to learn everything I need to for future applications.

      I have a database on here that my staff use which works wonders for tracking customer orders, but I want to allow my customers to be able to access this databse to show specific information of the databse through a very simple screen.

      I want them to be able to enter a order number and for it to return a screen showing a few fields which they can only read, example order number, delivery address, expected delivery date etc.

      But how do I go about this if someone has a sample script that they can show me allowing me to jsut amend database names and fields to get something simple running then I would be very very grateful.

      Any help would be appreciated.
     Post a reply

    Message from Christoph Bergmann on 9/30 2003, 03:59 +01:00
    EMail: info@baseportal.com

    Re: Help with simple restricted search


      Well, this sounds very simple to realize with baseportal. Did you tried the Easy Start?

      http://baseportal.com/estart/index.html

      There you learn how to create the fields for your database. Its easy.

      In your case you need a fields like "Order Number" (Type: Number. Maybe of Type text. Must be sorted), "Address" (Type: text or textarea), "Expected Delivery" (Type: Date) ...etc.

      When you want to show the information to your customers you need a page like this:

      <loop db=databasename>
      $_loop{"Order Number"}<br>
      $Address<br>
      $_loop{"Expected Delivery"}<p>
      </loop>

      This may look a bit confusing, but its not too hard. You can use any HTML there, what you like to format you output.

      Then call the page with a link like:

      ...baseportal.com/cgi-bin/baseportal.pl?htx=/yourname/yourpage&Order+Number==12345

      And the record with the Order Number 12345 will show up.

     Post a reply
     
 Messages from 3300 to 3450: To the input form 
<< Newest messages | < Newer messages | To the input form | Older messages > | Oldest messages >>


Back to the homepage

© baseportal.com. All rights reserved. Terms of use



baseportal.com