www.webdeveloper.com

Search:

Type: Posts; User: philmee95

Search: Search took 0.00 seconds.

  1. Replies
    4
    Views
    3,977

    View Post

    <script type="text/javascript" src="js/jquery-1.3.2.min.js"></script>
    <script type="text/javascript" src="js/jquery.validate.js"></script>
    <script type="text/javascript">...
  2. Opener call looks good and runs

    Are you sure the function runs in the page when not called by the opener?


    where does tbleRef come into scope in your function?

    tblRef.deleteRow(row);
    tbl =...
  3. just noticed your quotes in the code

    you have to use different quote styles in your code. simple but we overlooked it. I know this is an older thread.

    so your code should result in something like onlick="return confirm('are you...
  4. You can try...

    You can try http://dev.mysql.com/doc/refman/5.0/en/date-and-time-functions.html#function_from-unixtime

    Convert all you mktime(), which is *nix tstamp into a mysql datetime, then run a query on the...
  5. Replies
    2
    Views
    2,379

    limit results using having SELECT...

    limit results using having

    SELECT count(*),MOnth( tstamp) as monthy FROM `table` WHERE 1=1
    GROUP BY MOnth( tstamp)
    having monthy = 10

    only returns octobers
  6. Replies
    2
    Views
    2,379

    Use any aggreagte you want as long as you group by something

    SELECT count( * ) , MOnth( datetime_field)
    FROM `table`
    WHERE 1 =1
    GROUP BY MOnth( datetime_field)
  7. Replies
    3
    Views
    1,065

    When to do session stuff

    You need to set all cookie and session variables before anything prints to the web also (any html). You don't have to do sessions, but you do need to start it before any page output or use ob_start()...
  8. Might as well post the logger setup in case you...

    Might as well post the logger setup in case you want to play with it.

    if( !isset( $logger) || !($logger instanceof Zend_Log)){
    require_once('Zend/Log.php');...
  9. forgot, pdo is just a db wrapper API in php 5 (a...

    forgot, pdo is just a db wrapper API in php 5 (a PECL extension). Same ideas apply using mysql_connect, etc. The try catch only works in php 5 too. Just wanted to post real world code.

    err........
  10. Password info

    I use constants so that some clown can't pass in a variable named after my db parameters.

    so I use in my application config file:

    define( 'DSN_MYSQL_HOST',...
  11. simple rely, if they click no, or cancel, then...

    simple rely, if they click no, or cancel, then the event returns false for the onClick event. That means that you told the browser that you did not click it (the delete link with the onClick event)...
  12. Don't know where my other post is, but when you...

    Don't know where my other post is, but when you click the link, capture the onlick event and use the confirm in that to get the ok, or cancel request. The confirm response can then tell the link to...
  13. Replies
    4
    Views
    671

    use href anchors. w3cschools.com if you don't...

    use href anchors.

    w3cschools.com if you don't know what they are

    <a href="page.html#regionOfPageWhereAnchorIs"> text </a>
  14. confirm returns bool button click. True on ok,...

    confirm returns bool button click. True on ok, false on cancel.

    so on the link onclick event try


    <a href="google.com?s=dynamic%20Vars" onClick="return confirm("are you sure");" >delete image...
Results 1 to 14 of 14
HTML5 Development Center



Recent Articles