www.webdeveloper.com

Search:

Type: Posts; User: scragar

Page 1 of 20 1 2 3 4

Search: Search took 0.08 seconds.

  1. Replies
    8
    Views
    13,609

    Replace x[i]. onmouseover = With ...

    Replace


    x[i]. onmouseover =

    With


    x[i]. onmouseout =x[i]. onmouseover =
  2. Replies
    12
    Views
    2,581

    Normal PHP cleanup will occur, both after the...

    Normal PHP cleanup will occur, both after the destructor and at the end of the page(Triggering the destructor if required).

    What this means is that you don't need to free every variable, just do...
  3. // Remove from the database all checked events...

    // Remove from the database all checked events
    if (isset($_POST['entry_id'])) {
    foreach($_POST['entry_id'] as &$entry_id){
    $entry_id = mysql_real_escape_string($entry_id);
    }
    $sql =...
  4. Thread: Having Trouble

    by scragar
    Replies
    1
    Views
    1,306

    http://www.quirksmode.org/css/tables.html#bordersp...

    http://www.quirksmode.org/css/tables.html#borderspacing



    #MainBody{
    border-spacing: 10px
    }
  5. Replies
    9
    Views
    4,508

    Quick notes for shortening that, ? means...

    Quick notes for shortening that, ? means optional:



    RewriteRule ^([^/]*)/?$ index.php?resource=$1 [L]
    is the same as

    RewriteRule ^([^/]*)/$ index.php?resource=$1 [L]
    RewriteRule ^([^/]*)$...
  6. Replies
    9
    Views
    4,508

    I figure non-/s should work: RewriteRule...

    I figure non-/s should work:



    RewriteRule ^([^/]*)/([^/]*)/([./]*)$ index.php?resource=$1&page=$2&qry=$3 [L]
  7. Replies
    9
    Views
    4,508

    RewriteRule ^(.*)/(.*)/([./]*)$...

    RewriteRule ^(.*)/(.*)/([./]*)$ index.php?resource=$1&page=$2&qry=$3 [L]Try that.
  8. Replies
    9
    Views
    4,508

    RewriteRule ^(.*)/(.*)/(.*)$...

    RewriteRule ^(.*)/(.*)/(.*)$ index.php?resource=$1&page=$2&qry=$3 [L]

    Try that.
  9. print_r($_POST['entry_id']); Does that post...

    print_r($_POST['entry_id']);

    Does that post what you'd expect or not(not looking through the file without it being commented or very well formatted, so I'm going to just try narrowing the error...
  10. Replies
    3
    Views
    1,409

    $html = ' ...

    $html = '<html>
    <head>...</head>
    <body>...</body>
    </html>';

    if ( preg_match_all( '/[^s]ize/', $html, $matches ) ){
    var_dump($matches);
    }

    The [] designate a single character from a set.
  11. Replies
    12
    Views
    2,581

    Normally it's used to run clean up, for example...

    Normally it's used to run clean up, for example if you have a class that needs to lock a table while it's there for some reason then you'd unlock the tables on destruction.

    I've got a few examples...
  12. Replies
    5
    Views
    868

    Not really, the database server would always be...

    Not really, the database server would always be running, in order to pull info from it you need to establish a connection and submit the query(username, password etc are optional for some databases)....
  13. Replies
    5
    Views
    868

    1. That's how all server side languages work, but...

    1. That's how all server side languages work, but unless your code is badly written or your site is very popular I wouldn't worry about it.

    2. It depends entirely on what you are doing, text files...
  14. I'd take a look at the actual insert query, using...

    I'd take a look at the actual insert query, using the line I posted earlier( die....), see what is actually being passed, if that looks fine check your database structure, might be you've not set the...
  15. Don't worry, I'd recognise that error a mile off....

    Don't worry, I'd recognise that error a mile off.

    We are throwing too many items into the db, obviously given what changes were made we are not getting quotes around our joined array of course.
    ...
  16. GetSQLValueString($_POST['course[]'], "array") ...

    GetSQLValueString($_POST['course[]'], "array")

    You need the double square brackets, you've lost them again.
  17. I can't see how an error could be coming from the...

    I can't see how an error could be coming from the code, if it's an array we join them by commas, otherwise we return it untouched.

    I can't see any way it could be making it further into code....
  18. Database is a keyword, your error is related to...

    Database is a keyword, your error is related to the logic problem that arises.
  19. Add this line: // add this die(...

    Add this line:



    // add this
    die( "<pre>".nl2br($insertSQL)."</pre>");
    // above this line
    $Result1 = mysql_query($insertSQL, $auk) or die(mysql_error());

    this will spew out the sql it's...
  20. Replies
    1
    Views
    1,201

    var masterDiv =...

    var masterDiv = document.getElementById('master');

    masterDiv.innerHTML += "<p>some text</p>";
    masterDiv.innerHTML += '<div style="color: green">And some green text</div>';

    ......

    <div...
  21. Having looked at this code again on a real...

    Having looked at this code again on a real computer I realised a few minor security problems.
    And on that note I'd probably change your function to something more like:



    function...
  22. There may be an easy chunk of code if you just...

    There may be an easy chunk of code if you just insert some spans/divs to add structure.




    function checkUncheck(obj){
    if(!obj.checked) return; // remove if not wanted.
    var allele =...
  23. Replies
    3
    Views
    2,352

    This is not PHP, and there are better places to...

    This is not PHP, and there are better places to go to hire a freelancer.

    http://freelancer.internet.com/
  24. Replies
    3
    Views
    1,471

    Surfing using a phone, no flash. Could not use.

    Surfing using a phone, no flash. Could not use.
  25. You make things hard. Keep in mind, written on...

    You make things hard.

    Keep in mind, written on a phone, so possible errors.
    <?php require_once('conn/test.php');

    if (!function_exists("GetSQLValueString")) {
    function...
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4
HTML5 Development Center



Recent Articles