Jump to content

liquidkrep

New Members
  • Posts

    8
  • Joined

  • Last visited

    Never

Everything posted by liquidkrep

  1. I tried this instead; <fieldset> <legend>Create a contact list</legend> <div> <label for="contacts">Available contacts</label> <span class="input"> <?php if(!count($contacts)): ?> <?php else: ?> <?php foreach($contacts as $contact): ?> <input type="checkbox" value="<?php echo $contact['recipient_id']; ?>" name="contacts[]" /><?php echo $contact['email']; ?><br /> <?php endforeach; ?> <?php endif; ?> </span> </div> </fieldset> I think the issue is now that the javascript button will not let me submit the form even though I have the checkbox checked.
  2. How can change this code which is multiple select options to checkboxes instead; <fieldset> <legend>Create a contact list</legend> <div> <label for="contacts">Available contacts</label> <span class="input"> <select id="contacts" name="contacts[]" multiple="multiple"> <?php if(!count($contacts)): ?> <option>No emails available</option> <?php else: ?> <?php foreach($contacts as $contact): ?> <option value="<?php echo $contact['recipient_id']; ?>"><?php echo $contact['email']; ?></option> <?php endforeach; ?> <?php endif; ?> </select> </span> </div> </fieldset> Can anyone help me out?
  3. I just noticed something else, when I took a look at the database, it logs the information that was inputted but it doesn't go live on the site. So could there be something with the DB not loading correctly with the php code?
  4. Actually what would I need to do to make sure the db is configured with the admin?
  5. I configured a php file that connected to the database so I know it is loading the content from the DB but on the admin section something is incorrect.
  6. It is a cms that my previous web guy did for the website. I actually noticed the issue in other parts of the site as well. When I change the content from the mysql database it changes the content without a problem but when I change the content from the admin end of the site, it does not save to the database and it doesn't load the current content. Also, I'm sure this has to do something with the current issue. The website was on another host and I changed my hosting service. When I saved the original files and saved the database from the old host and uploaded everything over to the new host, this started happening. Any help?
  7. First I am very new to php so bear with me if I don't make a lot of sense. I'm having an issue with my current website. I have a simple cms setup, when I try to update a section of the site through the administrations panels it does not update anything. I am not able to update the current content that is there and when I do it does not change at all. It reverts back to the original content. I'm not sure if this has to do with the database or something else? Any ideas?
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.