Awake,
Use WordPad or EditPlus. I use WordPad, which allows me to work with large files. EditPlus is another nice text editor that works well with cgi, perl, and javascript codes.
You can add a search box to your home page. Take a look at the following web page:
www.anthrotech.com/career/
You can simply add the following codes to your home page:
<input type="hidden" name="db" value="default">
<input type="hidden" name="uid" value="default">
<input type="text" name="keywords" size="30" maxlength="200">
<input type="submit" name="view_records" value="Search Database">
</form>
Of course, you can add other hidden fields for the following form variables:
so = sort order
Change ascend to descend if you want your records to appear in descending order.
sb = sort by
Change 1 to the field number that you want to sort by in your %db_def section of your default.cfg file.
Hope this helps.
Regards,
------------------
Eliot Lee
Founder and Editor
Anthro TECH, L.L.C
http://www.anthrotech.com/
info@anthrotech.com
==========================
Coconino Community College
http://www.coco.cc.az.us/
Web Technology
Coordinator
elee@coco.cc.az.us
[This message has been edited by Eliot (edited September 26, 1999).]
[This message has been edited by Eliot (edited September 26, 1999).]
Use WordPad or EditPlus. I use WordPad, which allows me to work with large files. EditPlus is another nice text editor that works well with cgi, perl, and javascript codes.
You can add a search box to your home page. Take a look at the following web page:
www.anthrotech.com/career/
You can simply add the following codes to your home page:
Code:
<form action="/cgi-bin/dbman/db.cgi" method="get"> <input type="hidden" name="db" value="default">
<input type="hidden" name="uid" value="default">
<input type="text" name="keywords" size="30" maxlength="200">
<input type="submit" name="view_records" value="Search Database">
</form>
Of course, you can add other hidden fields for the following form variables:
so = sort order
Code:
<input type="hidden" name="so" value="ascend">Change ascend to descend if you want your records to appear in descending order.
sb = sort by
Code:
<input type="hidden" name="sb" value="1">Change 1 to the field number that you want to sort by in your %db_def section of your default.cfg file.
Hope this helps.
Regards,
------------------
Eliot Lee
Founder and Editor
Anthro TECH, L.L.C
http://www.anthrotech.com/
info@anthrotech.com
==========================
Coconino Community College
http://www.coco.cc.az.us/
Web Technology
Coordinator
elee@coco.cc.az.us
[This message has been edited by Eliot (edited September 26, 1999).]
[This message has been edited by Eliot (edited September 26, 1999).]