www.webdeveloper.com

Search:

Type: Posts; User: tca

Page 1 of 7 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    4
    Views
    10,952

    getimagesize is telling you that the file does...

    getimagesize is telling you that the file does not exist probably because it can't follow the path you have given it. Adjust your path to the image and see if that works.

    In which directory is the...
  2. Replies
    4
    Views
    1,194

    This query $query = "SELECT * FROM guestbook...

    This query $query = "SELECT * FROM guestbook ORDER BY name"; is not connected to the DB correctly.

    I'm not seeing where you actually made $connection.

    TC
  3. Replies
    4
    Views
    1,194

    require ($_SERVER["DOCUMENT_ROOT"]....

    require ($_SERVER["DOCUMENT_ROOT"]. "/config/config_db.php");

    Try: require ("config/config_db.php");

    $len - strlen($name);

    Try: $len = strlen($name);

    TC
  4. Replies
    4
    Views
    1,365

    Why to incorporate Web Development page into the...

    Why to incorporate Web Development page into the Home page ?

    It appeared to me that that was the main content. I see you have made changes. Much better.

    TC
  5. Replies
    2
    Views
    881

    Looks pretty good to me. You need to close the ...

    Looks pretty good to me. You need to close the <br> and <img> tags if you're going to use XHTML. <br /> <img src="" width="" height="" alt="" />
  6. Replies
    8
    Views
    2,000

    After looking at your code (which I didn't have...

    After looking at your code (which I didn't have time to do last time) I changed my mind about hiring you. <font> is depreciated. You're still using tables where div's would be better. By not using a...
  7. Replies
    4
    Views
    1,365

    The content of our website is at the development...

    The content of our website is at the development stage. If you can't find desired info, visit www.MyWebsiteAdviser.com Forum or feel free to contact us.

    They came to be advised. You just told them...
  8. Replies
    8
    Views
    2,000

    Nice site. But... Kill the intro. It took 30...

    Nice site. But...

    Kill the intro. It took 30 seconds to load on a 3M DSL connection. Most users would be long gone in 7 seconds or less.

    It doesn't validate: Missing DOCTYPE declaration for...
  9. Replies
    1
    Views
    810

    $result = mysql_query("SELECT * FROM books"); ...

    $result = mysql_query("SELECT * FROM books");
    $row = mysql_fetch_array($result);
    echo $row['title'];
  10. Replies
    3
    Views
    752

    Assuming the file that calls the image is in...

    Assuming the file that calls the image is in admin

    <img src="<?php echo 'cj/' . $row['image']; ?>" />

    File Paths

    TC
  11. Replies
    3
    Views
    752

    Try:

    Try:

    <img src="<?php echo 'pathtoimage/' . $row['image']; ?>" />

    You don't need 'pathtoimage/' . if the image and the PHP file are in the same folder.

    TC
  12. Replies
    1
    Views
    534

    Dude! Check your syntax. $sex =...

    Dude! Check your syntax.

    $sex = substr($row['Sex'], 0, 1);
  13. Replies
    1
    Views
    794

    You can't the way you have your table set up. You...

    You can't the way you have your table set up. You could do something like this:



    echo "<td>" . $record++ . ") "\n</td>";
    echo "<td>" . $row['Firstname'] . "<br />" . $row['Lastname'] ....
  14. :D Thanks bokeh. TC

    :D

    Thanks bokeh.

    TC
  15. Point taken bokeh. But FF does indeed allow the...

    Point taken bokeh. But FF does indeed allow the value of the file input to be read by the Javascript. It just won't display the image using the same path to to the image as IE.

    If I set the path...
  16. It's not a server file path, it's a client file...

    It's not a server file path, it's a client file path. When the user browses for a file on the local HD the value of the <input type=file> is sent to the PHP file img_thumb.php via AJAX with the...
  17. [RESOLVED] Display image on form w/AJAX call

    I have a script that uses an AJAX call to display a thumbnail of an image using the onchange event in a file input (Browse).

    The AJAX call looks like this:


    <?php
    for ($i = 1; $i <= 10; $i++)...
  18. Replies
    3
    Views
    1,542

    Assuming: $result = mysql_query("SELECT * FROM...

    Assuming:

    $result = mysql_query("SELECT * FROM `users` WHERE id = '$user_id' LIMIT 1");
    $row = mysql_fetch_array($result);

    <input name="customer_name" type="text" size="40" value="<?php echo...
  19. Thread: CSS Popup Windows?

    by tca
    Replies
    6
    Views
    920

    Sure you can. Here's one that uses images, but...

    Sure you can. Here's one that uses images, but could be modified to load a hidden <div> with text in it. It relies on a:hover to work....
  20. Thread: Select Box

    by tca
    Replies
    14
    Views
    1,248

    The value is chosen from the option that is...

    The value is chosen from the option that is selected.



    <select name="my_select_box">
    <option value="value1">1</option>
    <option value="value2">2</option>
    <option value="value3">3</option>...
  21. Replies
    3
    Views
    2,787

    That's why I love this forum. :D BTW, it's...

    That's why I love this forum. :D

    BTW, it's ip2long.


    Thanks! Works perfectly.

    TC
  22. Replies
    3
    Views
    2,787

    It ain't pretty, but here is my solution: ...

    It ain't pretty, but here is my solution:



    <?php
    $range = "182.34.0.0:182.255.255.255"; //just some made up range
    list ($min, $max) = explode(':', $range);
    list ($min1, $min2, $min3, $min4)...
  23. Replies
    3
    Views
    2,787

    [RESOLVED] Check IP address within NetRange

    Scratching my head on this one.

    I want to check an IP address against the NetRange of the provider.

    Suppose I have an IP of 23.23.45.32 and the NetRange of the provider is 23.0.0.0 -...
  24. Thread: Generate Numbers

    by tca
    Replies
    6
    Views
    878

    If the client ID and case number are the same how...

    If the client ID and case number are the same how will you add a new case number to a returning client?

    If you use a separate column for client ID and case number, you will have to re-enter the...
  25. Replies
    4
    Views
    956

    You can wrap it in a to make it...

    You can wrap it in a <textarea> to make it pretty:



    CSS:
    textarea.linktest {
    /* change these values to suit you */
    width: 400px;
    height: 100px;
    border: 2px solid #697;
Results 1 to 25 of 154
Page 1 of 7 1 2 3 4
HTML5 Development Center



Recent Articles