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!

Recent content by GWHicks

  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...

Part and Inventory Search

Back
Top