Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: SPrelewicz
  • Content: Threads
  • Order by date
  1. SPrelewicz

    Convert Time in Minutes to a Time string

    Does anyone know of any existing function available, or offer advice on how to implement the following: Given the time in minutes, how can I convert it onto a time string? Example: 480 converts to 8:00 AM. 510 converts to 8:30. 525 converts to 8:45. 0 converts to 12:00 AM. This seems simple...
  2. SPrelewicz

    Prechecked checkboxes not retaining

    I am prepopulating checkboxes from MySQL. This works just fine. When I go to the form, the values that are stored in the database are in fact prechecked. (Using HTML CHECKED in the checkbox tag). If I select a few more checkboxes, however, and submit, ONLY the new ones that I manually checked...
  3. SPrelewicz

    ORM and PHP class design

    I am doing an application where I have essentialy a class per table of my mySQL database. I am stuck at a one-to-many and how to implement the classes. Specifics: I have a property table (and class), and an apartment table(and class). The apartment table has a foreign key property_id to the...
  4. SPrelewicz

    Simple [not for me] Single Quote Substitution

    I pull some HTML from a mySQL DB to put into a text field. The problem is if there is a single quote it thinks its the end of the value attribute for the text field. So, in my script I want to somehow replace the ' with the ASCII character, but that is goofy too with its perl-ism. Heres what I...
  5. SPrelewicz

    Complex regular Expression - format inconsistent

    I have a general "Address" field in a text data set. I need to extract from the general address field specific elements, such as "Address 1", Addy2", City", etc.. The problem is the formatting of that field is tough for this. Occassionay, theres a comma after the building number, occassionally...
  6. SPrelewicz

    Get Selected Checkboxes/innerHTML

    This may be long... Problem - I am dynamically creating some form elements on a page based on prewvious selection. Step 1 - User clicks an area on a map, Group of checkboxes is created based on selection. name=state id-state. this I have working no problem using a <div> and innerHTML() in that...
  7. SPrelewicz

    OO Design, Process advice

    I started this thread in the Perl forum, but I thought I'd bring it over here also for further discussion: i apologize if this is sort of semi-perl related, but I figured the best palce to come. I'm making the step into OOP for my larger web based apps and would like some advice about how...
  8. SPrelewicz

    Object oriented Design

    i apologize if this is sort of semi-perl related, but I figured the best palce to come. I'm making the step into OOP for my larger web based apps and would like some advice about how others layout their OO Perl apps. I will be using CGI::Application and all its plugins, etc. My project now is...
  9. SPrelewicz

    agregate Count return all rows, Left Jin

    I have 2 tables on a lyric discussion site Titles title_id title_name title_lyricist title_lyrics title_artist title_entered And POSTS post_id title_id...
  10. SPrelewicz

    redirect and open a new browser window in cgi

    i want to do the following. Call a cgi from a form, process and redirect to the referer page. I can do this fine. However, I want to open a new browser window as a confirmation the form was processed? How can I do this with Perl? Thanks, Scott
  11. SPrelewicz

    Loading config options from mySQL

    Using: mySQL CGI::Applicaion CGI::Session Im going to load some app config options from a mySQL table and store them in a session. Using CGI::Application for the whole thing. Can someone suggest a way to access all the options, store them in the session. If the session exists, obviously I dont...
  12. SPrelewicz

    OOP with Perl

    I've been using Perl for a bit, but am just starting to use it with objects. I have a code snippet I'd like critiqued to see if I'm on the right track or havent got a clue. I am using CGI::App, but not sure that should matter. Anyway, here's the code: sub show_form { my $self=shift; my...
  13. SPrelewicz

    How to use database for multiple users/states

    I want to implement a shopping cart based on mySQL and CGI Sessions. I want to store the sessions in mySQL with a uniques session id for state maintanence. Here's my question, and I hope I'm not being too thick, though Im sure I am. I'm going to have multiple users (ie web stores) using the cart...
  14. SPrelewicz

    using a form (scrollPane) to design banners

    I have looked everywhere for help on this but can't find what I need. I am creating a flash application to design signs for a co. I will have about 7 clip art images to choose. The user will click one to add to the design panel. then they add some text and choose a color for text and the clip...
  15. SPrelewicz

    Web-based design application

    I am doing a web-based application for users to design signs. I have been recommended to Flash. What I want is an app that a user goes to, adds some clip art, some text with fonts and colors, etc...and allow the user to drag the objects and position them, and finally save them, either locally or...
  16. SPrelewicz

    Online Design Program

    I've been assigned to write an online application that allows users to create a design of a sign. The user would pcik a clip art, add some text and choose a font and font color, etc. I want the user to be able to move the clipart and text around to put it exactly where they want. Is Perl capable...
  17. SPrelewicz

    Asp Session, getting value from perl

    I have to use the university's authentication script (ASP) as part of my authentication process, but the rest of our site is in perl. I want to know how from a perl script, can I go out to the asp script, get a login true or false response, and continue in perl based on the response. Any ideas...
  18. SPrelewicz

    Sessions and Web traffic analysis

    Visitors to our site log in, and when successful we use sessions (Apache::Session::mySQL). I am now writing the logging/stats part of the application and can't decide how to handle this. Is it a bad idea to use the mySQL sessions table to generate reports, or should I create a separate table to...
  19. SPrelewicz

    Comparing arrays from param

    This started on the mySQL board, but now must be switched to here. Below is a response from a user about checkboxeses: What I might do with an HTML interface is produce a set of checkboxes with all the possible content, and check by default all those which represent content to which the user...
  20. SPrelewicz

    Database Design

    I have 3 relevant tables. The first is a content table that lists all content available on our site(About 700 entries). the second is an affiliation table which lists all our affiliate institutions (About 30 entries). The third is a content table of contents which matches institutions with which...

Part and Inventory Search

Back
Top