www.webdeveloper.com

Search:

Type: Posts; User: theflyingminst

Page 1 of 19 1 2 3 4

Search: Search took 0.02 seconds.

  1. Thanks so much!

    Thanks so much!
  2. .htaccess to web.config conversion question

    Hi, I have the following .htaccess file:



    RewriteRule ^album/(.*)\.html$ albums.php?album=$1 [L,NC]
    RewriteRule ^album/(.*)/([0-9]*)$ albums.php?album=$1&page=$2 [L,NC]
    RewriteRule...
  3. Ok, cool great idea. Thanks!

    Ok, cool great idea. Thanks!
  4. Hi, thanks. The error is triggered by this line...

    Hi, thanks. The error is triggered by this line (73):


    $data['first_name'] = $user_details[0]['first_name'];
  5. Cannot use string offset as an array - Error

    Hi, I'm getting the error: "Cannot use string offset as an array" for this code, if someone has a minute to take a look at this.


    $user_details =...
  6. Thanks so much!

    Thanks so much!
  7. Change Image with Dropdown based on ID

    Hi, I know this works with:


    var pair = sel.value.split("$");

    ..and the image/url split as the value, but how can I make this work with the id instead?


    <html>
    <head>
  8. Replies
    5
    Views
    1,612

    Oh wait, my mistake, I also changed another part...

    Oh wait, my mistake, I also changed another part of the code and that was hindering the add to db process altogether. Thanks!
  9. Replies
    5
    Views
    1,612

    Cool, thanks! I got 'er going, but the !empty or...

    Cool, thanks! I got 'er going, but the !empty or isset doesn't seem to be determining whether the array was populated or not for some reason..
  10. Replies
    5
    Views
    1,612

    Thanks. I changed the code to '!empty' with no...

    Thanks. I changed the code to '!empty' with no changes. Basically I need to save an unknown amount of data per category to a mysql database.
  11. Replies
    5
    Views
    1,612

    Form Submit Array Question

    Hi I am trying to store information in a mysql db based on an array. The user can add as many options per category as they want, so the form effectively looks like this:


    <input type='textbox'...
  12. Replies
    4
    Views
    2,993

    Yes it seems convoluted but I ended up making...

    Yes it seems convoluted but I ended up making them all hidden inputs just the same; I needed to gather info that applies to multiple objects on one page basically.

    Thanks again!
  13. Replies
    4
    Views
    2,993

    Cool, thanks!

    Cool, thanks!
  14. Replies
    4
    Views
    2,993

    Select all drop down function?

    Hi, is there a way, when one select is clicked, all change to the value of the one that was chosen? (ie: "b" is clicked and all change to b.)


    <select>
    <option>a</option>
    <option>b</option>...
  15. Replies
    1
    Views
    963

    preg_match('#(\$[0-9,.]+[0-9]+)#',...

    preg_match('#(\$[0-9,.]+[0-9]+)#', '\\\\1',$parsed_price);
  16. Replies
    1
    Views
    963

    preg_match Question

    Hi, this little number doesn't know how to handle prices over $999.00 (ex: $1,199.99).


    if(preg_match('/^\d+$/',$string,$matches)){
    $output_price = $matches[0];
    }

    Any ideas?

    Thanks!
  17. That was actually the first thing I tried but it...

    That was actually the first thing I tried but it didn't work. The problem is partly the way the file is being populated I think.
  18. Thanks, yes I'm just gonna create the array with...

    Thanks, yes I'm just gonna create the array with a file command line by line I guess then.
  19. Get Contents from file as Variable (Array) Question

    Hi, I have a file outputting an array as such:


    $the_array = array("1" =>array('id'=>'1', 'name'=>'Name 1', 'var1'=>'0000', 'img'=>'images/img1.jpg'),
    "2" =>array('id'=>'2',...
  20. Replies
    1
    Views
    2,627

    I found this.. saved the day....

    I found this.. saved the day. http://www.webmaster-toolkit.com/mod_rewrite-rewriterule-generator.shtml

    Thanks
  21. Replies
    1
    Views
    2,627

    .htaccess Rewrite Question

    Hi there, I'm having some trouble with rewriting a folder w/ another folder.

    I'm trying to rewrite (ex) from: http://mydomain.com/mp3_fold/playlist.php?user=11&id=55 --> ...
  22. Replies
    2
    Views
    2,200

    I just ended up doing some IE conditions since...

    I just ended up doing some IE conditions since after some more research I found that IE isn't very liberal with onchange & url's.

    To be sure of it I tested the same function with an onclick button...
  23. Replies
    2
    Views
    2,200

    window.open / location.href Issue

    Hi I'm using this Jumpbox script (http://www.davesite.com/webstation/js/theory1jump.shtml) and when I try to get the items to open in a new window, IE's popup-blocker goes off.

    ...
  24. Replies
    3
    Views
    1,686

    Update: This query I found on another forum...

    Update:

    This query I found on another forum accomplishes the task ok (I might not have had the proper MySql vers installed for your query to work Wolfshade):


    $query1 = mysql_query("SELECT...
  25. Replies
    3
    Views
    1,686

    Hey thanks so much. I tried that but for some...

    Hey thanks so much. I tried that but for some reason I got: Can't group on 'totalCount'
Results 1 to 25 of 465
Page 1 of 19 1 2 3 4
HTML5 Development Center



Recent Articles