www.webdeveloper.com

Search:

Type: Posts; User: ehime

Page 1 of 20 1 2 3 4

Search: Search took 0.05 seconds.

  1. [RESOLVED] Help with multiple joins in a mysql query

    Hey guys I'm trying to join together two queries and am having an issue,
    maybe you can take a look, I have these two separate queries i'm trying
    to combine. There is a third join that will be in...
  2. Replies
    4
    Views
    801

    Wrong forum =(

    Wrong forum =(
  3. Yeup. and @Nog, I noticed a few times that on...

    Yeup.

    and @Nog, I noticed a few times that on certain peoples installs, in_array doesn't like the array to be declared inline.
    Stupid but whatever.....
  4. $filter=array('Partner', 'Associate', 'Counsel',...

    $filter=array('Partner', 'Associate', 'Counsel', 'Articling Student', 'Summer Student');

    if (
    ($maternity == 'x' || $loa == 'x') &&
    in_array($title, $filter) == false
    ) {
    echo "<tr...
  5. Good one Nog, I use in_array filtering alot, its...

    Good one Nog, I use in_array filtering alot, its a cheap way to invalidate.
  6. Replies
    1
    Views
    1,144

    Ucwords() on underscores

    Just curious if anyone knows a quick way to use ucwords() on a string replacining
    underscores with spaces? I have a preg_replace that will do it, but won't add the
    needed spaces in between...

    ...
  7. The answer was that I was trying to use a foreign...

    The answer was that I was trying to use a foreign key on a table that was created later down the line, so it technically didn't exist yet. :rolleyes:
  8. [RESOLVED] Creating tables with Foreign key producing nondescript errors.

    I get this very nondescript error trying to create my next two tables, I believe
    its just a misspelling or a missing comma but can't seem to find it. Could someone
    please check out my code and...
  9. Thread: REGEX Question

    by ehime
    Replies
    9
    Views
    906

    Literally the stupidest thing I've heard this...

    Literally the stupidest thing I've heard this month....


    Let's say I have 15000 links in a file I want to regex titles into from vim. I can't use php, or javascript etc. Answer? Regex replace or...
  10. Thread: REGEX Question

    by ehime
    Replies
    9
    Views
    906

    No regex in Javascript and PHP have will return...

    No regex in Javascript and PHP have will return arrays of content, I want this just as regex.

    in php its very easy



    preg_match("/title=\'.+?\'/", $str, $matches);
    $finished =...
  11. Thread: REGEX Question

    by ehime
    Replies
    9
    Views
    906

    REGEX Question

    This is strictly a regex question but I figure anyone who knows preg_match can use back-referencing too.

    I'm trying to capture the contents of title='' and replace XXX with its reference. Could...
  12. Replies
    1
    Views
    648

    Merging every other array

    just curious if someone knows how to merge every other sub array,

    aka


    $tmp = array();

    $tmp[0] = array(false);
    $tmp[1] = array(false);
  13. Replies
    0
    Views
    786

    PHP Unset parent if not found in an array

    I'm having an issue unsetting my parent if I do not find my needle in my child, for some reason I just cannot get this to work no matter how many different ways I try it, could someone possibly point...
  14. Replies
    0
    Views
    701

    jQuery [RESOLVED] Jquery Slider error

    oops
  15. Thread: Simple Class

    by ehime
    Replies
    2
    Views
    1,023

    Great idea Nog, ill work on it over the weekend....

    Great idea Nog, ill work on it over the weekend. Thx man!
  16. Thread: about session

    by ehime
    Replies
    4
    Views
    1,121

    Do you mean something like this? Psuedo coded...

    Do you mean something like this?

    Psuedo coded



    session_start();
    for($i=0; $i>$count($some_var); $i++) {
    $_SESSION['var'][$i] = $some_var;
    }
  17. Replies
    7
    Views
    1,229

    now doesn't exist. Closest matches: pow...

    now doesn't exist. Closest matches:


    pow
    m_numrows
    chown
    bcpow
    px_new
    ps_new
    lchown
  18. Replies
    7
    Views
    1,229

    NOW() isn't a built in php function? Or is...

    NOW() isn't a built in php function?

    Or is this a function you built?




    function NOW() {
    return localtime(time(), true);
    }
  19. Replies
    9
    Views
    3,686

    You forgot your paranthesis

    You forgot your paranthesis



    <div>
    <?php include(page1.php); ?>
    </div>

    is actually....
  20. Thread: Simple Class

    by ehime
    Replies
    2
    Views
    1,023

    Simple Class

    I'm trying to teach myself OO pretty quickly, so I was wondering if someone
    would mind giving me a quick "homework" type assignment so I can build a
    few classes and get a lift off on what I need to...
  21. Replies
    4
    Views
    2,192

    jQuery

    <!DOCTYPE html>
    <html lang="en">
    <head>
    <link rel="stylesheet" href="hc.reset.css" />
    <link rel="stylesheet" href="landing.style.css" />

    <script type="text/javascript"...
  22. Replies
    4
    Views
    2,192

    jQuery Honestly I'm not sure if I understand? Would you...

    Honestly I'm not sure if I understand? Would you mind marking up my code to illustrate?

    I'm pretty sure this has something dto do with the last removeClass('open');
  23. Replies
    4
    Views
    2,192

    jQuery Onclick event repeating

    I'm having an issue where my onclick events will continue to propagate multiple times after trying to click to close. I thought I would be able to return false, but it looks like this is not the...
  24. Replies
    2
    Views
    782

    [RESOLVED] Simultaneous I/O

    I'm creating a function that I would like to simultaneously read input from one file (transform matching input) and write to a separate file.
    The reason that I want to do this is that I am...
  25. Its very true, just be honest and eager. Let them...

    Its very true, just be honest and eager. Let them know your strong and week points, and you should be fine. Especially with what examples you said you were providing.
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4
HTML5 Development Center



Recent Articles