Jump to content


  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About Hooch

  • Rank
  • Birthday 01/01/1967

Contact Methods

  • Website URL
  • ICQ

Profile Information

  • Location
    Ontario, Canada
  1. After trying Hadien's code for a while I'm finding it as difficult to get what I want. If someone can have a look at the original code and question for help that would be terriffic. Thank you.
  2. Hi Hadien, thanks for taking the time to help me out. It's definitely got some errors, but I will try to figure it out.
  3. Hello all. I am trying to change this old script up a bit and need some help to get it 100% correct. I'm trying to create a weekly list of 3 people and their job lineup for each of those 3 weeks.Example:Week1:Job1:LesJob2:MikeJob3:DanWeek2:Job1:DanJob2:LesJob3:MikeWeek3:Job1:MikeJob2:DanJob3:LesThen repeat the job cycle from week 1 for eternity.If you check out my results so far at LINKY you can see it is simply repeating week#3 instead of starting over as week 1.Here is my code so far: <?PHP $var1 = 'Les'; $var2 = 'Dan'; $var3 = 'Mike';
  4. Ooops..I got to this post via my panel and forgot it started in javascript. Sorry for posting this PHP problem here. I removed the above post and added a new one to PHP
  5. These are scripts I have picked up from the net.One is from code I have purchased. The "packer" is from code I downloaded from http://www.webmotionuk.co.uk/php-jquery-image-upload-and-crop/ I am completely lost with JS and do not understand what you want me to do when it comes to namespacing.
  6. Howdy all. I have 2 scripts that are not happy with each other. From what I have googled there are functions that are named the same. So my limited knowledge of JS have brought me to the conclusion the 2 scripts have function( c ) and function(e) in common.There are 4 function's in this code at the beginning. But do I need to sift through all that code after these functions and replace all the c's and e's?I'm not even sure what I need to change amongst the 1st 4 functions since there are many c's and e's there too. Here is the first bit of code on the file (I can't post the whole code since
  7. Hooch

    Question On Code

    This code is within a function...and there are many things happening within. Some when a new entry comes along or some when an update comes along.So the function might be true, but not specifically true for a new entry.
  8. Hooch

    Question On Code

    Geesh....After I posted the question I had a brain storm. $checkEvent = ($this->userid) ? ($cE = 1) : ($cE = 2); This works... if $cE = 2 it means there was a new entry. All is good now. Thanks for looking though
  9. Hooch

    Question On Code

    Hey all.I stumbled upon some code that I have a question about. ($this->userid) ? $db->update($this->uTable, $data, "id='" . (int)$this->userid . "'") : $db->insert($this->uTable, $data); On the next line of code I want a check put in place to see if $db->insert was performed. Then if it was do something else. I have tried if($db->insert()) but it's a no go.Still trying other things...but I would love your input here. Thank you.
  10. Thanks for the info guys.Using javascript is not something I do often so I decided to convert it all to PHP. I appreciate you taking the time to help me. If anyone wants the code I will post it. Oh..if you want to see what I was going for look here...This is a 12hr shift schedule my workplace has. Now we cansee what we are working months/years in advance. Againthank you. Hooch
  11. Thanks Guy.But this gives me more errors. To show you how I implemented your code look below <script LANGUAGE="JavaScript"><!-- var dayName=new Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"); var monthName=newArray("January","February","March","April","May","June","July","August","September","October","November","December"); var monthDays=new Array(31,28,31,30,31,30,31,31,30,31,30,31); var ondays=newArray("D","D","A","A","B","B","B","C","C","D","D","A","A","A","B","B","C","C","D","D","D","A","A","B","B","C","C","C"); var onnights=newArray
  12. Hi all.I came across a script that is exactly what I need, unfortunately it's mostly JS.I could work things out if it were PHP but I need some help here. Here is the code.. <html> <head><meta http-equiv="Content-Type" content="text/html; charset=windows-1252"><title>Shift Schedule</title> </head><body background="" bgcolor="#CCCCCC" text="#000000" link="#996600" vlink="#666666" alink="#336600"><script LANGUAGE="JavaScript"><!-- var dayName=new Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"); var monthName=new Arr
  13. Here's a question.Is there another way to mouse over an image to show text elsewhere?Maybe an easier option?
  14. This seems to be closer. When I mouse over the images the text will appear whereit should but the text is outputted as " instead of the actual quote ( " ).
  • Create New...