www.webdeveloper.com

Search:

Type: Posts; User: Kethinov

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    1,409

    Margin will move the div. Padding will move its...

    Margin will move the div. Padding will move its contents.
  2. Replies
    2
    Views
    2,537

    Yes, that is wrong. You should not place ...

    Yes, that is wrong. You should not place <h1> tags inside <a> tags.
  3. Replies
    7
    Views
    3,616

    As I said before, you misspelled...

    As I said before, you misspelled document.getElementsByTagName. There needs to be an s in there.
  4. Replies
    6
    Views
    5,919

    Some PHP configurations disable this function on...

    Some PHP configurations disable this function on some or all particular settings. You may need to alter the php.ini manually.
  5. Replies
    7
    Views
    3,616

    Your use of "this" is improper. Alter your for...

    Your use of "this" is improper. Alter your for loop like so:


    for (var i=0; i<para.length; i++ ) {
    para[i].style.color = "red";
    }

    Also, the getElements method you're looking for is...
  6. Replies
    6
    Views
    5,919

    You need to modify your php.ini or call ini_set()...

    You need to modify your php.ini or call ini_set() in your script. http://php.net/manual/en/function.ini-set.php
  7. Thread: Noobie

    by Kethinov
    Replies
    2
    Views
    778

    That does sound like a horrible teacher because...

    That does sound like a horrible teacher because that assignment does not require if statements in order to write sufficient Javascript to satisfy the requirements.

    Here is a solution that delivers...
  8. Replies
    6
    Views
    1,308

    It's not a question of the value of a given...

    It's not a question of the value of a given language, it's a question of the value of a developer's experience with a given language. If you're fluent in PHP and don't know any Python and are asked...
  9. Replies
    3
    Views
    2,045

    The "headers sent" error occurs when your code...

    The "headers sent" error occurs when your code has already finished sending http headers and has begun sending http data and you try to send headers again. That means you're probably echoing some...
  10. Replies
    3
    Views
    667

    Okay - first thing, that script is insecure. You...

    Okay - first thing, that script is insecure. You need to escape your strings properly. If you don't, you're vulnerable to a SQL injection attack. One way you can fix it is with...
  11. Replies
    3
    Views
    667

    You're not giving us enough info to work with, so...

    You're not giving us enough info to work with, so it's kind of hard to diagnose why you're not seeing the desired result.

    Some things you could provide which would be helpful:

    - the schema of...
  12. Download GIMP: http://www.gimp.org/ Then find...

    Download GIMP: http://www.gimp.org/

    Then find a tutorial for batch resizing with gimp: http://www.google.com/search?rls=en&q=gimp+batch+resize&ie=UTF-8&oe=UTF-8
  13. Don't reinvent the wheel guys. This is basically...

    Don't reinvent the wheel guys. This is basically what JSON is for.



    <script type="text/javascript">
    var data = <?php
    $array = array('various', 'random', 'data');
    echo json_encode($array);...
  14. Replies
    6
    Views
    4,043

    Your link is using Javascript history back 1.

    Your link is using Javascript history back 1.
  15. Replies
    6
    Views
    4,043

    Then use three pages. Don't use Javascript to...

    Then use three pages. Don't use Javascript to rewind the browser back to a page with previously POSTed data, or you'll have these problems.
  16. Thread: php input.

    by Kethinov
    Replies
    9
    Views
    1,351

    Assuming it's a MySQL database, you need to use...

    Assuming it's a MySQL database, you need to use mysql_pconnect(server, username, password); then mysql_select_db(database_name); to establish a connection from PHP. Then you can execute a series of...
  17. Thread: php input.

    by Kethinov
    Replies
    9
    Views
    1,351

    Don't try to create your database/tables with PHP...

    Don't try to create your database/tables with PHP yourself. Instead, use a tool like phpmyadmin to do it graphically.
  18. Replies
    4
    Views
    877

    Loop through the posts. $time_since = time() -...

    Loop through the posts.
    $time_since = time() - $yourdate;
    if ($time_since > a certain number) mysql_query("DELETE FROM etc");

    This assumes your dates are stored as unix timestamps. If not, try...
  19. Thread: php input.

    by Kethinov
    Replies
    9
    Views
    1,351

    Okay, to do that you need to know how to first...

    Okay, to do that you need to know how to first desgin a database, second how to connect to it with PHP, and third how to read and write data to it with PHP.

    Let's start with simply designing the...
  20. Replies
    6
    Views
    4,043

    That error will occur whenever you try to refresh...

    That error will occur whenever you try to refresh a page which had variables sent via POST. You might want to instead pass everything with GET, or rethink the your page flows.
  21. Replies
    4
    Views
    877

    Assuming you're using a Linux or UNIX-like web...

    Assuming you're using a Linux or UNIX-like web server and have shell access, you can setup a cronjob to run a PHP script once a day to weed out the old records.

    Or you can simply not display...
Results 1 to 21 of 21
HTML5 Development Center



Recent Articles