User Profile

Collapse

Profile Sidebar

Collapse
geraldjr30
geraldjr30
Last Activity: Mar 4 '09, 04:48 PM
Joined: Jan 8 '09
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • geraldjr30
    started a topic table rows
    in PHP

    table rows

    hi,

    i have the following:

    Code:
    <html>
    
    
    <STYLE type="text/css">
    		TD{font-family:ARIAL;font-size:11px;color:#666666;}
    		BODY{font-family:ARIAL;font-size:11px;color:#666666;background-color:#eeeeee;margin-top:40px;margin-bottom:0px;margin-left:40px;margin-right:0px;}
    		FORM{display:inline;}	
    		A:LINK, A:VISITED{color:#6699cc;text-decoration:none;}
    ...
    See more | Go to post

  • geraldjr30
    started a topic Days calc
    in PHP

    Days calc

    hi,

    i have the following:

    Code:
    <?php
    echo"test";
    //The function returns the no. of business days between two dates and it skips the holidays
    function getWorkingDaysTOT($startDate2,$endDate2,$HOLS){
        //The total number of days between the two dates. We compute the no. of seconds and divide it to 60*60*24
        //We add one to inlude both dates in the interval.
    ...
    See more | Go to post

  • geraldjr30
    started a topic Days
    in PHP

    Days

    hi,

    i have the following to calculate working days between 2 dates, but i am not getting the right amount. i should be getting 11 instead of 12, because feb 16 2009 was a holiday. can someone please advise? here is my code:

    Code:
    <?php
    //The function returns the no. of business days between two dates and it skips the holidays
    function getWorkingDays($startDate,$endDate,$holidays){
        //The
    ...
    See more | Go to post

  • geraldjr30
    started a topic ODBC on server
    in PHP

    ODBC on server

    hi,

    i managed to setup an ODBC to microsoft access database while testing my site on my local machine/server using control panel --> administrative tools --> Data Sources ODBC --> System DSN... but i cant manage to figure out how to setup a connection to MS Access after putting my files on a LAN/remote server. can someone please help?

    thanks in advance,
    geebee
    See more | Go to post

  • geraldjr30
    started a topic resetting to ALL
    in PHP

    resetting to ALL

    hi,

    i managed to reset the $_GET[fac] to $_POST[fac] passed from previous page, but for some reason when i type in a [fac] in the form it resets back to all. i do not want this to happen... can someone look at my code and tell me how to prevent this?

    Code:
    <html>
    
    
    <STYLE type="text/css">
    		TD{font-family:ARIAL;font-size:11px;color:#666666;}
    		BODY{font-family:ARIAL;font-size:11px;color:#666666;background-color:#eeeeee;margin-top:40px;margin-bottom:0px;margin-left:40px;margin-right:0px;}
    ...
    See more | Go to post

  • geraldjr30
    started a topic AND within IF statement
    in PHP

    AND within IF statement

    hi,

    i have the following:

    Code:
    if(!isset($_POST['submit'])  AND ($_POST['fac'] ="ALL")))
    but i think the syntax is wrong. could someone help?

    thanks in advance,
    geebee
    See more | Go to post

  • geraldjr30
    replied to set POST using GET
    in PHP
    thanks. thats helps.
    See more | Go to post

    Leave a comment:


  • geraldjr30
    started a topic set POST using GET
    in PHP

    set POST using GET

    hi,

    i would like to know how I can set the $_POST[store] to the $_GET[store] passed from the previous page
    would it be something like:

    Code:
    set($_POST['store'] = $_GET['store']);
    thanks in advance,
    geebee
    See more | Go to post

  • geraldjr30
    replied to query error
    in PHP
    i really think it has something to do with the line 163... not matching up with the correct datatype... or some quotes or something missing in the query string. but im not sure how to fix this.
    See more | Go to post

    Leave a comment:


  • geraldjr30
    replied to query error
    in PHP
    hi,
    here is the whole thing...

    Code:
    <html>
    
    
    <STYLE type="text/css">
    		TD{font-family:ARIAL;font-size:12px;color:#666666;}
    		BODY{font-family:ARIAL;font-size:11px;color:#666666;background-color:#ffffff;margin-top:40px;margin-bottom:0px;margin-left:40px;margin-right:0px;}
    		FORM{display:inline;}	
    		A:LINK, A:VISITED{color:#6699cc;text-decoration:none;}
    ...
    See more | Go to post

    Leave a comment:


  • geraldjr30
    started a topic query error
    in PHP

    query error

    hi,

    i have the following:

    Code:
    <form method="post" action="<?php echo $PHP_SELF;?>">
    <span style='color: #008b8b; font-size: 10pt; font-family: arial'>
    &nbsp &nbsp <b>search </b><input type="number" size="24" class = "INPUTWHITE" maxlength="20" name="SEARCH" value="<?php echo $_POST['search'];?>"
    ...
    See more | Go to post

  • geraldjr30
    replied to isEMPTY
    in PHP
    thanks... that helps!!
    See more | Go to post

    Leave a comment:


  • geraldjr30
    replied to isEMPTY
    in PHP
    is there such thing as NOT empty($_GET['fac'])?
    See more | Go to post

    Leave a comment:


  • geraldjr30
    replied to isEMPTY
    in PHP
    would i handle it with ISNULL for cases like this?
    See more | Go to post

    Leave a comment:


  • geraldjr30
    replied to isEMPTY
    in PHP
    how can i handle the "fac=" part?
    See more | Go to post

    Leave a comment:


  • geraldjr30
    started a topic isEMPTY
    in PHP

    isEMPTY

    hi,

    i have the following:

    Code:
    <?php
    ...
    if(empty($_GET['SFT']) AND empty($_GET['fac']))
    {
    echo "one";
    }
    elseif(empty($_GET['SFT']) AND isset($_GET['fac']))
    {
    echo "two";
    }
    elseif(isset($_GET['SFT']) AND isset($_GET['fac']))
    {
    echo "three";
    }
    else
    {
    echo "four";
    ...
    See more | Go to post

  • geraldjr30
    replied to link at TOP of page
    exactly what code worked for you? weve gone back and forth several times and i must have gotten confused... here is what i now have?

    Code:
    <html>
    
    
    <STYLE type="text/css">
    		TD{font-family:ARIAL;font-size:12px;color:#666666;}
    		BODY{font-family:ARIAL;font-size:11px;color:#666666;background-color:#ffffff;margin-top:40px;margin-bottom:0px;margin-left:40px;margin-right:0px;}
    ...
    See more | Go to post

    Leave a comment:


  • geraldjr30
    replied to link at TOP of page
    ok... same code as my previous post with the exception of line 53:

    Code:
    <a href id="link">ONE</a>
    i am assuming that the javascript code i had in the previous post is supposed to change this link with ID name of "link"? if so, im just not sure how its supposed to do this and what more i am missing.

    thanks in advance,
    geebee
    See more | Go to post

    Leave a comment:


  • geraldjr30
    replied to link at TOP of page
    here is what i have now... i must be still missing something somewhere...

    Code:
    <SCRIPT LANGUAGE="text/JavaScript">
       function FRESHEN() 
     { 
       window.location.reload();
    }
    </SCRIPT>
    
    
    
    <SCRIPT LANGUAGE="text/JavaScript">
       function go_back_1() 
     { 
       history.go(-1); 
    }
    </SCRIPT>
    ...
    See more | Go to post

    Leave a comment:


  • geraldjr30
    replied to link at TOP of page
    hi,

    i am new to javascript...

    i now have

    Code:
    <SCRIPT LANGUAGE="text/JavaScript">
       function go_back_1() 
     { 
       document.body.innerHTML += "<a href=\"http://www.AOL.com\">AOL</a>";
    }
    </SCRIPT>
    
    
    
    <SCRIPT LANGUAGE="text/JavaScript">
       function go_back_2()
    ...
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...