Forum Replies Created

Page 50 of 129
  • Hello Micah,

    We are currently rebuilding the categories of our forums.

    Thank you for your patience.

    Abraham

  • Abraham Chaffin

    January 8, 2011 at 10:33 pm in reply to: Twitter connection not working…

    Hello Michael,

    Try revoking your Twitter access in your COW Settings and reconnecting. I just ran a few tests and everything seemed to be working normally.

    Abraham

  • Abraham Chaffin

    January 8, 2011 at 10:27 pm in reply to: testr
  • Abraham Chaffin

    January 8, 2011 at 10:13 pm in reply to: How Do They Do This?

    That’s all Adobe Flash. You could do something like that with Javascript but this one is done with Flash.

    Abraham

  • Abraham Chaffin

    January 7, 2011 at 9:55 pm in reply to: jquery lightbox 2

    Can you provide with the code or link to the page you are working on so we can take a look?

    Abraham

  • Abraham Chaffin

    January 7, 2011 at 9:38 pm in reply to: test highlight
  • Abraham Chaffin

    January 7, 2011 at 9:06 pm in reply to: The simplest header in the web

    lol – how things do change. The web has grown up over the years.

    I love all the comments in the source code =o

    Abraham

  • Abraham Chaffin

    January 7, 2011 at 3:24 pm in reply to: Animated audio bars

    There is a number of tutorials that cover this. Try this search

    https://forums.creativecow.net/search.php?content=T&f%5B%5D=296&q=Audio%20after%20effects

    Abraham

  • Abraham Chaffin

    January 4, 2011 at 6:20 pm in reply to: PHP Text input as checkbox

    Well – I guess that’s one reason why it’s better to pass an id with your key rather than a text description.

    Do you have a numeric product id you could pass and then tie it back to the description on the other side of the posting?

    If not you could do something like this:

    <?
    //SET YOUR ID TO ZERO BEFORE THE LOOP
    //USE THE ID TO MATCH PRODUCT INFORMATION AFTER POSTING
    $id++;
    ?>
    <?=$row_Recordset1['description']?>: <input type='text' size=2 value='' name="product_qnty_<?=$id?>" />
    <input type='hidden' name='product_desc_<?=$id?>' value="<?=$row_Recordset1['description']?>" />

    This isn’t really the best way at going at this but since I don’t know your entire setup it helps fix what you’re trying to do.

    Altered processing:

    <?
    //KEY FOR QUANTITY FIELDS
    $qnty_key=”product_qnty_”;

    //LOOP THROUGH THE POST FIELD
    foreach($_POST as $key => $val)
    {
    //IF THE BEGINNING OF THE POST FIELD IS THE QUANTITY KEY AND THE VALUE IS A NUMBER AND THE NUMBER IS OVER ZERO
    if(substr($key,0,strlen($qnty_key))==$qnty_key && is_numeric($val) && $val > 0)
    {
    $id=substr($key,strlen($qnty_key));
    $prod_description=$_POST[‘product_desc_’.$id];
    echo $prod_description.”: “.$val.””;
    }
    }
    ?>

    Abraham

  • Abraham Chaffin

    January 4, 2011 at 6:05 pm in reply to: PHP Text input as checkbox

    I assume you are referring to the quantity key that I set which has the underscores.

    $qnty_key="product_qnty_";

    The product key can be just about anything you want just so it’s the same for your form and when you are processing.

    Abraham

Page 50 of 129

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy