Hello
My implementation of DBMAN is nearly completed. I have (with the help of Alex and JPDeni) been able to get my Alumni database up and running in a MUCH better format than my original HTML/Guestbook implementation.
One thing remains until I take it from BETA on my site to production, and here it is:
How can I, in a link, select records if there is a URL present in the database?
The application is this - I have a link on my main alumni page that takes Alumni to a page which shows all Alum who have a webpage. Presently, I have to manually update the page whenever someone signs up. What I would like to do is make that dynamic - i.e. user selects the link, it goes out, searches and selects all Alumni with a web page, returns results on a spreadsheet format. The ONLY piece of this NOT working is the syntax to pull all records based on URL being present.
(I do not have a default for the field, so if the user does NOT enter the URL, the field is blank)
Actually, now that I think about that, there is another part to that - I want the HTML formatted differently for this than my normal spreadsheet format. I'd like to give the user the ability to enter their URL title as well and for the resulting search to show their URL title and their name and class year, with the URL title being an HTML link to their site.
I'm already capturing the URL as an HTML link in my DBMAN implementation, its just the selecting from a link that is a problem for me (well, that and the alternate view).
BTW, I am using Default User to allow this to work without login.
The syntax I have attempted for the link is this:
a href=$db_script_url?db=alumni&uid=default&view_records=1&URL={ What do I put here? }
Thanks in advance for any assistance.
Jamie
------------------
James A. (Jamie) Dennis
*Certified AIX Administrator
*Certified Solaris Administrator
*Member - SAGE, USENIX
My implementation of DBMAN is nearly completed. I have (with the help of Alex and JPDeni) been able to get my Alumni database up and running in a MUCH better format than my original HTML/Guestbook implementation.
One thing remains until I take it from BETA on my site to production, and here it is:
How can I, in a link, select records if there is a URL present in the database?
The application is this - I have a link on my main alumni page that takes Alumni to a page which shows all Alum who have a webpage. Presently, I have to manually update the page whenever someone signs up. What I would like to do is make that dynamic - i.e. user selects the link, it goes out, searches and selects all Alumni with a web page, returns results on a spreadsheet format. The ONLY piece of this NOT working is the syntax to pull all records based on URL being present.
(I do not have a default for the field, so if the user does NOT enter the URL, the field is blank)
Actually, now that I think about that, there is another part to that - I want the HTML formatted differently for this than my normal spreadsheet format. I'd like to give the user the ability to enter their URL title as well and for the resulting search to show their URL title and their name and class year, with the URL title being an HTML link to their site.
I'm already capturing the URL as an HTML link in my DBMAN implementation, its just the selecting from a link that is a problem for me (well, that and the alternate view).
BTW, I am using Default User to allow this to work without login.
The syntax I have attempted for the link is this:
a href=$db_script_url?db=alumni&uid=default&view_records=1&URL={ What do I put here? }
Thanks in advance for any assistance.
Jamie
------------------
James A. (Jamie) Dennis
*Certified AIX Administrator
*Certified Solaris Administrator
*Member - SAGE, USENIX