www.webdeveloper.com

Search:

Type: Posts; User: SyncUpSolutions

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. I believe that's more of a javascript question,...

    I believe that's more of a javascript question, which I am not very good at. Maybe put these images in divs with the link already there, have them hidden, and when the user presses the link show the...
  2. IMO your best bet would be to initialize a link...

    IMO your best bet would be to initialize a link with every picture, just a small one at the bottom of it, then POST the data to the same page and have PHP handle it from there. Getting the current...
  3. Replies
    10
    Views
    5,676

    Have you echoed the POST data after you convert...

    Have you echoed the POST data after you convert them with the strtotime() to see what they are, then compare them to the ones in the database manually ?
  4. Or you both could quit your little cat fight and...

    Or you both could quit your little cat fight and use HTML :-P



    echo '<META HTTP-EQUIV="Refresh" Content="0; URL=http://www.myurl.com">';
  5. Best way to pass a variable dynmically

    I'm trying to overcome one feat, and I've just ran the course of my little knowledge of javascript. Here is the code that concerns us.



    function loadXMLDoc()
    {
    if (window.XMLHttpRequest)
    ...
  6. Replies
    40
    Views
    4,158

    Yea lol, die() kind of kills the script bud. Glad...

    Yea lol, die() kind of kills the script bud. Glad it's working for ya.

    Yea, when you use the $row['variable'] you have to make sure that the row your trying to catch matches it's name inside your...
  7. Replies
    40
    Views
    4,158

    Try while($row = mysql_fetch_assoc($result))...

    Try


    while($row = mysql_fetch_assoc($result))


    instead of


    while($row = mysql_fetch_array($result))
  8. Replies
    40
    Views
    4,158

    That's what we were looking for, the reason...

    That's what we were looking for, the reason overall isn't show up in the table is because your using wrong variable id in your statements.

    Remember this ?


    while($row =...
  9. Replies
    40
    Views
    4,158

    I think I'm putting you through more trouble then...

    I think I'm putting you through more trouble then I'm worth bud.

    Put your code back in, and put a semicolon after the die() statment. It should read

    die();

    Then run the page and tell me...
  10. Replies
    40
    Views
    4,158

    Oh ! Put a ; after die() it should be: ...

    Oh ! Put a ; after die()

    it should be:

    die();

    Sorry about that.

    Dont erase your code.
  11. Replies
    40
    Views
    4,158

    Ok, that might happen now because of the foreach...

    Ok, that might happen now because of the foreach we're using. Did you put the foreach before the while statment ? If so, copy & paste all of the code underneath die(); into a notepad, and put it back...
  12. Replies
    40
    Views
    4,158

    I edited the last post, did you do this: ...

    I edited the last post, did you do this:



    $row=mysql_fetch_assoc($result);
    foreach($row as $key=>$value){
    echo $key . " = " . $value . "<br>";
    }
    die()
  13. Replies
    40
    Views
    4,158

    change $row=mysql_fetch_array($result);...

    change


    $row=mysql_fetch_array($result);
    foreach($row as $value){
    echo $row . " = " . $value . "<br>";
    }
    die();
  14. Replies
    40
    Views
    4,158

    put this right before your while statment, and...

    put this right before your while statment, and copy and paste the results. This will klll your page the time being, but it will help us figure out whats going on.


    ...
  15. Replies
    40
    Views
    4,158

    Change: while($row =...

    Change:


    while($row = mysql_fetch_array($result))
    {

    $id = $row[id];
    $player = $row[player];
    $ovr = $row[ovr];
    $position = $row[position];
  16. Replies
    40
    Views
    4,158

    Is $ovr a link similar to your player-name ? Show...

    Is $ovr a link similar to your player-name ? Show me what you had that wasn't working. I dont see you attempting to echo $ovr anywhere on that page.
  17. Replies
    40
    Views
    4,158

    Show me the full code, and where $ovr is defined...

    Show me the full code, and where $ovr is defined as something.
  18. Replies
    40
    Views
    4,158

    No problem at all.

    No problem at all.
  19. Replies
    3
    Views
    1,815

    Thats because I'm getting the contents of a text...

    Thats because I'm getting the contents of a text file. The obRequest.responseText is a name of a directory, I need that to be passed into
    populateParentWindow(Directory), this is the problem.
    ...
  20. Replies
    4
    Views
    1,501

    Post the code of the $db class.

    Post the code of the $db class.
  21. Replies
    40
    Views
    4,158

    Not that I dont mind helping you out at all, but...

    Not that I dont mind helping you out at all, but you should try experimenting around, these are pretty easy fixes. You are ware of the manual on PHP at PHP.net ? I've been leaving these little...
  22. Replies
    40
    Views
    4,158

    I'm guessing thats because the players name is...

    I'm guessing thats because the players name is seperated with a comma between last and first ? You could either remove the comma from the players name, or you could :



    $char=array(" ", ",");...
  23. Well Sessions are not my strong point, I've never...

    Well Sessions are not my strong point, I've never got them to work the way I want to either unless I include() page after page. My solution has always been writing variables into a text file, and...
  24. What code are you using to set your cookie ? ...

    What code are you using to set your cookie ?

    It should be something like this:



    setcookie("MyCookieName","MyCookieVar",time()+3600,"/","yourdomain.com","0");


    That sets a cookie for one...
  25. Replies
    40
    Views
    4,158

    Syntax was just a little off bud, that good ol'...

    Syntax was just a little off bud, that good ol' on the spot coding. Try this.



    echo '<a href="2001' . $player_id . '-' . str_replace(' ','-',$player_name) . '.html">Player Name</a>';

    ...
Results 1 to 25 of 33
Page 1 of 2 1 2
HTML5 Development Center



Recent Articles