www.webdeveloper.com

Search:

Type: Posts; User: dz_boy

Page 1 of 9 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    2
    Views
    1,299

    Thanks tcobb, that worked. Here's the code that I...

    Thanks tcobb, that worked. Here's the code that I used:


    var t = setInterval("Loaded()",100);

    function Loaded(){
    if(image[15].complete) //15 was the last image in the array
    {...
  2. Replies
    2
    Views
    1,299

    Slideshow timing (basic)

    I'm trying to build a slideshow page in Javascript. It's dynamically built and all of that is working, but the Javascript timing is giving me trouble.

    First, a PHP script builds an array of Image...
  3. Replies
    0
    Views
    1,560

    GoLive Regex Link Replacement

    I'm about to switch my hosting platform from Windows to Linux, and to combat the case-sensitivity, I'm going to try and run a Find/Replace in Adobe GoLive CS2 with regular expressions to make all...
  4. Thanks, but I have tried that. Is there a way to...

    Thanks, but I have tried that. Is there a way to have the entire array saved without having to loop through it? I need to have it all without printing it to the page.
  5. Easy array problem - am I missing something?

    For some reason, I seem to have a problem with an array.

    I'm using mysql_fetch_array() to retrieve two rows from my database. I've triple checked this on the database and mysql_num_rows($result)...
  6. Replies
    1
    Views
    1,048

    Select count of type by person

    I have a database table that is a list of items. It has columns for id, type_id, date, staff_id, memo, etc. I'm trying to select the number of items (i.e. using the count() function) of each type per...
  7. Replies
    0
    Views
    1,777

    View Post

    I have a weird character set issue. Sometimes when I upload records into my database through Safari, the apostrophe character (it's copied out of MS Word) enters the database and is displayed as an...
  8. Replies
    1
    Views
    650

    Okay, never mind. For future reference, it DOES...

    Okay, never mind. For future reference, it DOES work but I had a PHP version error. Sorry for the trouble!
  9. Replies
    1
    Views
    650

    MySQL via PHP include()?

    I have a problem trying to run a MySQL query through an "include()"-ed page.

    Page A is as follows:

    <?php
    include('connect.php');

    $query1 = "SELECT blah FROM blah....";
    $result1 =...
  10. Replies
    0
    Views
    1,419

    Searching .txt files?

    I work for a newspaper and their web site stores articles as .txt files on the webserver and indexes them in a database. When a user reads a story, the text file's contents are dumped into a PHP/HTML...
  11. Replies
    5
    Views
    1,291

    Alright, my inexperience is officially kicking...

    Alright, my inexperience is officially kicking in... I don't really know what that is or how to check for/fix it. Sorry... any advice for the noobie?
  12. Replies
    5
    Views
    1,291

    Yes I have checked the spam filters but the...

    Yes I have checked the spam filters but the messages don't seem to be getting caught in them for any account, even my personal one where the message did arrive. For the other ones the messages don't...
  13. Replies
    5
    Views
    1,291

    PHP mail() delivery problems

    I know this problem has already been beaten to death, but I can't find the answer to this specific problem so any help or insight is appreciated!

    I built a form that uses PHP's mail() function to...
  14. Replies
    7
    Views
    8,009

    Actually, I just got it. The problem stemmed from...

    Actually, I just got it. The problem stemmed from the fact that all my Javascript was being written to the page via PHP and I forgot to escape two quotes. It works now. Thanks so much!
  15. Replies
    7
    Views
    8,009

    Yeah, it still gives me the error. Here's my code...

    Yeah, it still gives me the error. Here's my code (abbreviated to skip lengthy and irrelevant PHP and HTML code):



    <html>
    <head>
    <script type="text/javascript">
    <!--
    function...
  16. Replies
    7
    Views
    8,009

    Thanks everyone. I'm trying JMRKER's arrangement...

    Thanks everyone. I'm trying JMRKER's arrangement of ZeroKilled's syntax, but I keep getting "syntax error in regular expression" when I try the FindAndReplaceAll() function. Here's that function--...
  17. Replies
    7
    Views
    8,009

    Javascript Find and Replace All

    I have this function and it won't seem to work. The page displays a few hundred words in a textarea and I want to make a Javascript-based Find and Replace function for the text in that box. My code...
  18. Replies
    1
    Views
    653

    strtotime() question

    Just a simple question:

    I'm using PHP's strtotime() function to automatically generate deadlines and I'm having a tiny problem. Here's my code:


    <?php echo date("M. j, Y,", strtotime("next...
  19. Replies
    2
    Views
    777

    Thanks NogDog. That worked perfectly.

    Thanks NogDog. That worked perfectly.
  20. Replies
    2
    Views
    777

    Find and Replace?

    I need to turn PHP "/n" into "<p>" before writing a variable to the page, but when I use the following code:


    $string = nl2br(implode($contents));
    echo preg_replace('<br />','<p>',$string);
    ...
  21. Replies
    7
    Views
    3,329

    Thanks to astupidname: your "shorter" code...

    Thanks to astupidname: your "shorter" code worked. I had tried a version similar to that, but it didn't work-- probably for some other reason, but it's fixed now. Thanks again.

    (PS- the <button>...
  22. Replies
    7
    Views
    3,329

    "Object expected" error driving me crazy!

    Can anyone find the reason I'd be getting an "object expected" error in the line marked in green? It's getting to the point of infuriating!



    <html>
    <head>
    <script language="text/javascript">...
  23. Replies
    8
    Views
    1,411

    My host seems to give me access to the root...

    My host seems to give me access to the root directory (simply "/" in FTP). If I make two folders in that directory, one titled "Web" and the other "Uploads", could I just point my domain at that...
  24. Replies
    8
    Views
    1,411

    How does someone actually go about creating a...

    How does someone actually go about creating a folder outside the web directory. For a long time now I haven't even known that I had a web directory.... how do I get above that?
  25. Replies
    8
    Views
    1,411

    So there is no threat if only trusted employees...

    So there is no threat if only trusted employees or colleagues will be uploading files?
Results 1 to 25 of 218
Page 1 of 9 1 2 3 4
HTML5 Development Center



Recent Articles