Jump to content

MeanMrMustard

New Members
  • Posts

    5
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

MeanMrMustard's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. [!--quoteo(post=379762:date=Jun 3 2006, 05:09 PM:name=knowram)--][div class=\'quotetop\']QUOTE(knowram @ Jun 3 2006, 05:09 PM) [snapback]379762[/snapback][/div][div class=\'quotemain\'][!--quotec--] I have worked around the problem so while not solved it is not needed any more. thank you all for your help [/quote] Something to think about. What I do in these circumstances is to define the "Value" of my check box outside of the form tag and the call the variable in the Tag. Example: $Text = "If no improvement in ".$Improve." hours then continue with text description here"; Then in the value section of your form tag use: Value = "<? echo $Text ?>" Might help you...
  2. I have a DB where the results of a incentive program are kept. Each employee who receives a merit goes into this DB. Can someone help me write a query that produces a ranking from the DB. Every Merit produces another entry in the DB so I can count the number of instances f any one employee while in a loop but can seem to create a ranking style output. Any help would be appreciated.
  3. I'm working on an incentive site. Each employee has a monthly goal - say 20 products. Each product has two incentive values - 2.00 if the total number of products sold is less than 10. $5.00 if products sold equal 11 or more. I'm trying to do a Sum and Count all in the same query. I want to know the sum of the first 10 products and then the sum of the remaining products. I have about 30 products each with different values so I can't limit it by value. Any help would be appreciated...
  4. I guess that makes sense but even if I remove that session_start(); from the 2nd page the variables don't pass. If I run that Header Page by itself it picks up the variables but not via the Include_Once command.
  5. I need to pass some session variables to another page via the Include_Once command. Does anyone know if this can be done and if so what the code would be? This is what I have so far and the session variables don't carry across... Start.php <? Session_Start(); $Ref_Name = $_SESSION['Ref_Name']; include_once("..common/header.php"); ?> Header.php <? Session_Start(); $Ref_Name = $_SESSION['Ref_Name']; ?> Basically the Header needs the variable to dynamically create a menu to be displayed on the initial page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.