Jump to content

raknjak

Members
  • Posts

    53
  • Joined

  • Last visited

Contact Methods

  • Website URL
    http://burst.cc

Profile Information

  • Gender
    Not Telling

raknjak's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Encrypt() is not for used for password protection because it is 2-way encryption. http://stackoverflow.com/questions/7044785/what-is-the-safest-way-to-store-a-password-using-code-igniter-solved
  2. in your model: return $query->result(); in your controller: $result = $this->account_model->user(); $result is object
  3. You explained what you want to accomplish, but I do not see any problem description or debugging attempts. - Using brackets means passing an array to the controller, so you need to do a corresponding action there to meet the array's needs. - you need to SET the date in your model: $this->db->set('creationdate', 'now()', false); - If you want to insert a row for each checkbox ticked your database model needs to be more complex.
  4. Are there no files called error_log in your webserver webroot for example? Maybe something like this in your code will work, depending on what the server allows. ini_set('error_reporting', E_ALL); Since mail() relays it's requests through sendmail check those logs, too - no way for you to access those though /var/log/mail.log. You could see whether an e-mail is actually sent with this kind of script: http://www.howtoforge.com/how-to-log-emails-sent-with-phps-mail-function-to-detect-form-spam let us know how it turns out
  5. I wonder what alert(b) would output fife, if this solves your issue please mark as solved, which would make you a cool person
  6. For small sets of data you made the correct choice I think. Enum is pretty fast
  7. Ahhh Dumpert excellent find!
  8. Possible help tip: install MySQL before PHP module It might be good to post what you tried in a nutshell. I did find this old article: http://www.puremango.co.uk/2009/01/wamp_97/ good luck
  9. - use mysql_fetch_assoc for faster loading times - what is the </option> doing here? What I think you want to do is float every <div> element to the left, except when you count a third element, then clear the float on the next element so that you can work with a random number of results. <div id="cbwrapper"> <div class="floatleft"><label><input type="checkbox" /></label></div> <div class="floatleft"><label><input type="checkbox" /></label></div> <div class="floatleft"><label><input type="checkbox" /></label></div> <div class="clearboth floatleft"><label><input type="checkbox" /></label></div> <div class="floatleft"><label><input type="checkbox" /></label></div> <div class="floatleft"><label><input type="checkbox" /></label></div> etc... </div> .floatleft{float: left;} .clearboth{clear: both;} You could do this by adding a counter $i=1, check for $i%3 == 0 and if this is true then add .clearboth to the next div being echoed. Anyone better then me with PHP might have a more elegant solution? (Edit: beaten)
  10. function AddRecipe($user,$Pub,$title,$prep,$cook,$make,$ingr,$desc, $note){ if(!TRACK_VISITORS) return; $q = "INSERT INTO recipies (`user` ,`Pub` ,`title` ,`prep` ,`cook` ,`makes` ,`ingredients` ,`recipe` ,`notes`)VALUES ('$user', '$Pub', '$title', 'prep', 'cook','$make', '$ingr', '$desc', '$note');"; mysql_query($q, $this->connection) or die(mysql_error()); $this->calcNumActiveGuests(); } What do YOU think is wrong with this piece of code? You gave the answer in your question
  11. http://utilu.com/IECollection/ I use this aside IE Tester because IE Tester crashes on me all the time. not reliable imo.
  12. As cssfreakie pointed out to me not long ago: "hehe bottom left corner green button 'solved' only shows when not in editor mode "
  13. change the link around the image in your post from http://ashedmonds.com/gps/?p=439 to http://ashedmonds.com/gps/[insertpagelinktogalleryhere] You'll need to edit all the posts, so if you want to change this later you'll probably have a lot of work. Maybe it's time to think about a different kind of implementation? (Unless some plugin is taking care of post images/headings?)
  14. I was able to reproduce your problem yesterday, today it seems to work fine in IE7 and IE8. you fixed it?
×
×
  • 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.