www.webdeveloper.com

Search:

Type: Posts; User: mbaldwin

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    1,454

    you need to loop through your array to make the...

    you need to loop through your array to make the replacements.
    I would build the arrays as one array as well, like



    $vars = array(
    '*bizname'=>$bizname,
    '*hn'=>$busNume,
    '*dir'=>$stDir,...
  2. You can remove the

    You can remove the


    <p><input type="dropdown" size="10" name="condition" class="do_input"


    The stuff between the select tags is the dropdown, and if you want to drop down to replace the...
  3. Replies
    19
    Views
    77,518

    Examples are good for seeing how the basics...

    Examples are good for seeing how the basics works, but i would not use them on a live site. The OP should do more research on mysqli or PDO instead of mysql, and validating form inputs. And it is not...
  4. this is what I would use for the html for the...

    this is what I would use for the html for the drop down list.



    <span><label for='condition'>Condition (/label>
    <select name="condition" id="condition">
    <option value="new">New</option>...
  5. Replies
    1
    Views
    402

    Hi, I have not tested this, but this should do...

    Hi, I have not tested this, but this should do the trick for you.



    $sql = 'INSERT INTO temp_user_id (user_id, menu_id, is_active, ordering) SELECT user_id, menu_id, is_active, ordering from...
  6. I export it to a .csv file, and those will open...

    I export it to a .csv file, and those will open in Excel.

    Michael
  7. Thread: Form Fields

    by mbaldwin
    Replies
    5
    Views
    546

    thanks for that, that is good to know I do not...

    thanks for that, that is good to know I do not have to worry about some best practices stuff concerning this at least.

    Michael
  8. Replies
    9
    Views
    5,099

    if((isset($_GET['action']) && $_GET['action'] ==...

    if((isset($_GET['action']) && $_GET['action'] == 'Logout')){



    Michael
  9. Replies
    9
    Views
    5,099

    You are getting it because the error_reporting or...

    You are getting it because the error_reporting or display_errors is set differently in this new installation of XAMPP. As these are just warnings, your script will work fine as it is. Some people...
  10. Replies
    9
    Views
    5,099

    On production machines it is usually set to not...

    On production machines it is usually set to not display errors, so when uploading to your host it is not a concern. I would leave it set to e_all on your testing machine, but if you really want to...
  11. Replies
    9
    Views
    5,099

    Just warnings to let you know those variables...

    Just warnings to let you know those variables have not been declared.
    You might have error_reporting set to E_ALL on the new setup.

    Michael
  12. Thread: Form Fields

    by mbaldwin
    Replies
    5
    Views
    546

    Oops, second form should have been this. I had to...

    Oops, second form should have been this. I had to repost it because I can't edit messages.


    <form...>
    <label for="name">Name: <em>required</em></label><input class="FormFieldRequired"...
  13. Thread: Form Fields

    by mbaldwin
    Replies
    5
    Views
    546

    Hi, I guess div was not quite right, and I...

    Hi,
    I guess div was not quite right, and I should have said container, I know you can use p and others. But if I did a form that has some fields required and others not required, I was trying to...
  14. Thread: Form Fields

    by mbaldwin
    Replies
    5
    Views
    546

    Form Fields

    Is it customary to wrap each form field in it's own div?
    Or just add a class to each imput so you can use different colors or styling if it is a required field vs. a not required field.

    Thanks,...
Results 1 to 14 of 14
HTML5 Development Center



Recent Articles