www.webdeveloper.com

Search:

Type: Posts; User: HHCOwner

Page 1 of 5 1 2 3 4

Search: Search took 0.01 seconds.

  1. Thank you for your reply! Could you write up an...

    Thank you for your reply! Could you write up an example? I'd really appreciate it.
  2. Change page location if info found in MySQL?

    I was wondering if it's possible to write a script that would check a MySQL database table every 5 seconds for the word "closed." If it finds the word in the table, then it would redirect somehow to...
  3. Change page location if info found in MySQL?

    I was wondering if it's possible to write a script that would check a MySQL database table every 5 seconds for the word "closed." If it finds the word in the table, then it would redirect somehow to...
  4. Replies
    1
    Views
    1,995

    You can use something similar to the following...

    You can use something similar to the following code with a cron job to run every day at whatever time you'd like and it'll send an email to each person who has someones birthday set for a reminder in...
  5. Replies
    1
    Views
    1,703

    Trying to send MMS using mail()?

    I've been working on trying to send an MMS (Multimedia Messaging Service) to my phone on sprint using the php mail() function. The problem I'm having is actually displaying the image in the message...
  6. Replies
    2
    Views
    1,786

    Thanks for the reply but unfortunately, I got the...

    Thanks for the reply but unfortunately, I got the same result. It worked fine on the check.php page but it didn't fade in on the autorefresh.html page. Any other idea's?
  7. Replies
    2
    Views
    1,786

    Problem with Ajax Auto Reload page...

    I have the following Ajax code to refresh a page every 1 second automatically:

    autorefresh.html


    <html><head>
    <script type="text/javascript">
    var page = "../check.php";
    function...
  8. Replies
    4
    Views
    5,465

    Thank you tirna and criterion for your idea's! In...

    Thank you tirna and criterion for your idea's! In awaiting a response from someone, I worked on the code myself and came up with the following (and it works in the exact way I wanted it to so no need...
  9. Replies
    3
    Views
    2,727

    Maybe try adding parentheses around the items...

    Maybe try adding parentheses around the items your updating like this...



    $sql = "UPDATE product SET (pro_name='$pro_name', pro_cat='$pro_cat', pro_desc='$pro_desc', pro_price='$pro_price',...
  10. You could make a page that ask which table the...

    You could make a page that ask which table the user wants to work with using a code like this...



    <html>
    <head>
    </head>
    <body>
    <center>
    Which table would you like to work with?<br>
  11. Replies
    5
    Views
    6,635

    Although official HTML documentation says that...

    Although official HTML documentation says that using type="image" is the equivalent of type="submit", you can always try adding an onclick to your button like the following...



    <input...
  12. Replies
    4
    Views
    5,465

    Moving MySQL data down in rows...?

    I have the following database...

    _______________________
    | id | art | title | content |
    | 0 | 1 | Title 1 | Content 1 |
    | 1 | 2 | Title 2 | Content 2 |
    | 2 | 3 | Title 3 | Content 3 |...
  13. Replies
    1
    Views
    1,964

    Place MySQL data into Javascript array?

    I have the following code:



    <script type="text/javascript">

    var pausecontent=new Array()
    pausecontent[0]='Title 1'
    pausecontent[1]='Title 2'
    pausecontent[2]='Title 3'
  14. Replies
    2
    Views
    3,799

    Place MySQL data into Javascript Array?

    I have the following code:



    <script type="text/javascript">

    var pausecontent=new Array()
    pausecontent[0]='Title 1'
    pausecontent[1]='Title 2'
    pausecontent[2]='Title 3'
  15. Replies
    1
    Views
    598

    Repeat Script?

    I have a page that gives users 1 point for going to that page (it simply inserts their name into a database) but I'd like to set it up to where it'll give the user 1 point for every 5 minutes they...
  16. Send something to MySQL multiple times...

    I have a page called mymes.php thats used to check your messages on my website. It uses a table called mes which contains the following fields ...


    id
    mes
    subject
    user
    from
    ip
  17. Replies
    8
    Views
    5,672

    You can include the alert.php page like ... ...

    You can include the alert.php page like ...



    <?

    include "../alert.php";

    ?>
  18. Replies
    9
    Views
    2,355

    If your just using a simple form and form action...

    If your just using a simple form and form action page, it shouldn't give any errors like that. May I see your current codes?
  19. Replies
    8
    Views
    5,672

    The reason I included the window.opener part is...

    The reason I included the window.opener part is because if you don't, then the popup will tell the user that its trying to close the window and it'll ask if they want to proceed. The window.opener...
  20. Replies
    7
    Views
    979

    Just out of curiosity, what exactly are you...

    Just out of curiosity, what exactly are you trying to display?
  21. You could use iframes and on each page the iframe...

    You could use iframes and on each page the iframe is displaying you could put ...



    <?

    include "../connect.php";

    $sql="SELECT * FROM whatever WHERE whatever='whatever' limit 1,1"; ...
  22. Replies
    3
    Views
    709

    You could try something like this ...

    You could try something like this ...



    <?

    $var="123<p>hey there</p>456";

    $var=ereg_replace("<p>[a-zA-Z0-9<>/]{1,}</p>", "", $var);
  23. Replies
    10
    Views
    7,664

    Well as long as the images in the db are in url...

    Well as long as the images in the db are in url form, you could use this ...



    <?

    include "../connect.php";

    $sql="SELECT * FROM whatever WHERE whatever='whatever' limit 1"; ...
  24. Replies
    8
    Views
    5,672

    Well after the part of the script that alerts the...

    Well after the part of the script that alerts the user, place this ...



    <?

    echo '<script...
  25. Replies
    9
    Views
    2,355

    Well you could place this inside a die() function...

    Well you could place this inside a die() function on the form action page ...



    <?
    echo "<script>window.location='../senderror.php'</script>";
    ?>


    ... and on the senderror.php page just...
Results 1 to 25 of 102
Page 1 of 5 1 2 3 4
HTML5 Development Center



Recent Articles