www.webdeveloper.com

Search:

Type: Posts; User: phpnstuff

Page 1 of 6 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    3
    Views
    2,309

    I stipped out all the css and added a few basic...

    I stipped out all the css and added a few basic lines to see if it would work. As a static normal css file it works properly, after I make it into a php file and add css header it won't work; css is...
  2. Replies
    3
    Views
    2,309

    IE9 won't render PHP with CSS header

    <?php

    header("Content-type: text/css");

    ?>

    I am adding dymanic php within a css file to allow the user to change on the fly, IE9 won't render the css and omits its completely because of the...
  3. Replies
    2
    Views
    2,282

    IE9 and PHP with CSS header

    <?php

    header("Content-type: text/css");

    ?>

    I am adding dymanic php within a css file to allow the user to change on the fly, IE9 won't render the css and omits its completely because of the...
  4. stream_context_create with xml through proxy

    We have a proxy with authentication at work. I am able to get html by using the following code, how can I get data from xml, does "stream_context_create" work with xml, if not what does? Can someone...
  5. Replies
    1
    Views
    1,007

    how do you get element focus() name?

    function focusName()
    //code here (get input field name)
    alert(name);
    }


    Say the field is called "firstname". After they enter the data, javascript alerts "firstname" because that is the...
  6. Replies
    3
    Views
    591

    Is there a way to do it on the fly without...

    Is there a way to do it on the fly without specifying an ID, I don't want to make individual calls for multiple forms.
  7. Replies
    3
    Views
    591

    Maximum Qty; Change Value

    This works fine, it alerts the user that they entered more than the maximum value. What I would like and can't get to work, if the user enters a number above the "max" I want that specific field to...
  8. How do you stop flash video and sound when you hide div containing it...

    In IE when I do the javascript toggle to hide the div, the audio is still playing, how do I stop all sounds or unload the flash file?



    function setVisibility(id, status) {
    if(status ==...
  9. Replies
    0
    Views
    529

    Album.js (I need some help)

    I'm still learning javascript, I am having trouble fixing the sort method in javascript. I want to make the images appear permanently by name (a-z) asc order.

    For example, my images are name:...
  10. Replies
    1
    Views
    875

    Anyone? I need help...

    Anyone? I need help...
  11. Replies
    1
    Views
    875

    .htaccess problem with forwardslash

    If someone types the location without a trailing "/" it can't find the URL.

    http://www.website.com/homepage/ (works)
    http://www.website.com/homepage (doesn't work) goes to 404

    Am I missing...
  12. how do you break up an email address from a variable?

    I want to strip each email into two parts, the name and the domain so I can drop the email in a protected javascript code that renders the mailto for spamming purposes.



    $email =...
  13. thank you!

    thank you!
  14. how do you detect a url string that contains 1 word

    promo/ADBRN0409.php

    I want to be able to detect if the word "promo" is being used regardless of what the "/&#37;STRING%" is thereafter. I want to do an if statement based on finding that keyword.
  15. mysql conditional, if non required is checked run in query otherwise ignore

    Here's my query to check if records exist:



    $verify = mysql_query("SELECT COUNT(*) FROM `officers` WHERE UPPER(`first_name`) $regexp"."OR UPPER(`last_name`) $regexp", $dbconn);
    $result =...
  16. //connect to database $dbconn = mysql_connect (...

    //connect to database
    $dbconn = mysql_connect ( $dbhost, $dbuser, $dbpass );
    mysql_select_db( $dbname, $dbconn );

    //count records
    $tte = mysql_query("SELECT COUNT(*) FROM...
  17. how do you select just the year from a datestamp?

    I wanted to know how you search from a datestamp when you are only looking for a specific year?

    i.e. 2008 I want to search my database for the all records in "date" containing 2008 that has the...
  18. Replies
    3
    Views
    791

    .htaccess mod_rewrite rules

    I googled alot of examples and can't get additional strings to work



    RewriteEngine On
    RewriteCond &#37;{HTTP_HOST} ^server\.com
    RewriteRule (.*) http://www.server.com/$1 [R=301,L]
    RewriteRule...
  19. Replies
    0
    Views
    650

    Textarea resizing on the fly...

    The following code adds a new line as you type which is great. Can some improve on this code with some extra features. First, as you delete text delete the line, this code leaves the last line added...
  20. Let me see if I can clarify my delima. Thanks...

    Let me see if I can clarify my delima. Thanks sstalder, but I guess I didn't explain myself correctly.

    Let's start backwards so you can see what i'm trying to do.

    The product page list features...
  21. MySQL select top 3 that have "yes" from multiple columns?

    Lets call the table `products` and the item `product1`

    I have 5 rows of data:

    feature1: yes
    feature2: no
    feature3: yes
    feature4: yes
    feature5: no
  22. MySQL: How do you display records in a grid format for a product page?

    I would like to display data from my database into a product page into a grid format.

    I would like to display no more than 3 per row. The only part that is tricky is the 2nd product within each...
  23. Replies
    2
    Views
    3,108

    Anyhelp?

    Anyhelp?
  24. Replies
    2
    Views
    3,108

    Request.ServerVariables

    This is basic and works:

    <% Response.Write("http://www.website.com" & Request.ServerVariables("URL")) %>

    Is there a easier method to get the full url string in ASP.

    I need 2 if statements,...
  25. Replies
    16
    Views
    3,479

    I'm using IE on a PC. That class works fine, but...

    I'm using IE on a PC. That class works fine, but when I use the overflow function on it doesn't hold. Firefox, Opera shows the accurate 60px height, IE adds the extra 12px. Would I attach that class...
Results 1 to 25 of 138
Page 1 of 6 1 2 3 4
HTML5 Development Center



Recent Articles