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 gkittelson 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: *

  1. GWHicks

    Dynamic generation of links

    Oh, and on another minor note, if I used the path info (i.e. /var/html/www/navigation/navigation.html) it couldn't find the page. Would I need to precede that line with something to get it to start at the root level of the structure? Just curious on that. One of the little tidbits I did...
  2. GWHicks

    Dynamic generation of links

    OK, it is working, but still not as elegant as I think it can be. There must be a function in PHP that returns the url of the site you are at. What I ended up with is this: <?php include ('../header.html'); include ('../navigation/navigation.html'); ?> That is in the myurl/webhosting/index.php...
  3. GWHicks

    Dynamic generation of links

    And this code includes the files as it should. <?php $path = dirname($_SERVER['DOCUMENT_ROOT']); include ('../header.html'); include ('../navigation/navigation.html'); ?> However there is an issue with the header.html file having the same problem with the relative path changing based on the...
  4. GWHicks

    Dynamic generation of links

    I have tried your method and here are the results (assuming I understood you correctly and implemented it as you meant! (-8 Here is my code: <?php $path = dirname($_SERVER['DOCUMENT_ROOT']); include ($path.'/header.html'); include ($path.'/navigation/navigation.html'); ?> That is in this file...
  5. GWHicks

    Dynamic generation of links

    I don't have a problem getting the include command to work, it is when the file that it gets included in is in a different directory. Basically the way I have it now I will have to have a seperate file to include at each directory structure to replicate the ../ or ../../ for each directory level...
  6. GWHicks

    Dynamic generation of links

    I am trying to create my web pages with some dynamic structure and am running into some problems. Here is the structure I was trying to use: root directory files index.php directories navigation files navigation.html toolbtn1.swf toolbtn2.swf...
  7. GWHicks

    Working with date and times

    That was it, thanks. Now hopefully I will remember that when I am working through future issues with dates and times! Greg Greg Hicks VB.Net (Newbie) Programmer http://www.ajlb2.com
  8. GWHicks

    Working with date and times

    I am trying to write a script that pulls information from our MySQL database on employees that are currently clocked in. I am pulling everything fine, but am trying to clean up the output by breaking up the date and time from the clock in into seperate fields. Below is the array that I use to...
  9. GWHicks

    Good Crystal Reports book?

    OK, I have migrated to the PHP language currently and have not been working much in my VS.Net IDE lately and I forget where I got that menu. If anyone else can shed some light here it would be appreciated. I just spent a couple minutes cruising thru the IDE and was unable to find the report menu...
  10. GWHicks

    Good Crystal Reports book?

    From what I was told my version is closer to 8 than 9. If you look up through the messages here you should see one where it was explained to me what to look at to check which your's is closer to. There is a difference in the menu's between 8 and 9 and if you check that difference you will know...
  11. GWHicks

    Good Crystal Reports book?

    The other book I have is a Wrox book &quot;Professional Crystal Reports for Visual Studio .Net&quot; and I have not fully read it yet, but the sections I do look into seemed to be fairly helpful. I ended up rethinking the project I was on and began building it using PHP instead of VS.Net so I...
  12. GWHicks

    Good Crystal Reports book?

    I never found a book to TEACH Crystal, but I did pick up the Dummies for version 8 and one other book that I can't remember the title of right off. It is on my bookshelf at work and I am currently at home, I will let you know the title of that one when I get to work later today. Greg Greg Hicks...
  13. GWHicks

    Listing valid fields only

    That did what I was looking for. Just wanted to eliminate wasted white space between items with no information stored in the field. Greg Greg Hicks VB.Net (Newbie) Programmer http://www.ajlb2.com
  14. GWHicks

    Listing valid fields only

    I am not sure we are talking the same thing here. What I am looking for is that some fields will be null on every record. Those fields I don't want to show a blank line for. EX: P20 Core and Cavity H13 Slides Other items Between P20 Core and H13 Slides in my setup are other options that could...
  15. GWHicks

    Listing valid fields only

    I am trying to compile a listing of records from my database where it compiles a set of fields into a group together. However if some fields are empty I want it to completely skip that line (without leaving a blank line). What is the best way to do this? Currently I am echoing the field and...
  16. GWHicks

    Run PHP script at page load

    Ah, seems like almost anything can be turned into a debate these days. (-: vbkris is right in his assumption of my use of MySQL, and that most likely stems from all the hoopla surrounding the phrase &quot;If you are using PHP you HAVE to learn MySQL, they work so well together!&quot; While that...
  17. GWHicks

    Run PHP script at page load

    I am trying to retrieve a record from my database when a webpage loads. Basically I need it to check the database, find the highest record ID, increment it by 1, and then post that number on the webpage to tell my user what record number they are about to create. I think I have the script right...
  18. GWHicks

    Change tinyint to smallint?

    Actually you are correct, there would never be a need to process mathematical computations on them. Would you then recommend using a different type for them? varchar(3) maybe? Thanks for the answer, you must just troll these boards all day long! The last couple questions I have asked have been...
  19. GWHicks

    Change tinyint to smallint?

    We had an outside source convert our MSAccess database into a MySQL database with a webbased front end powered by Java. The system is working well, but I was just doing some work in it and see that he has defined the field holding our employee numbers as an unsigned tinyint. This will limit us...
  20. GWHicks

    MySQL Database Design

    WOW! Every time I think I am starting to get my head around some of these concepts I either ask a question, or come across an article that shows me just how much I don't know! Your response is so full of information I am now debating my current structure even more. I realized the issue you...

Part and Inventory Search

Back
Top