Jump to content

adamlacombe

Members
  • Posts

    320
  • Joined

  • Last visited

    Never

About adamlacombe

  • Birthday 02/22/1994

Contact Methods

  • Website URL
    http://alphawebpro.com
  • Yahoo
    adamlacombe2012

Profile Information

  • Gender
    Male
  • Location
    Randolph, VT

adamlacombe's Achievements

Member

Member (2/5)

0

Reputation

  1. Should I even use cookies to save data for the next page? or just use $_GET instead of post?
  2. Okay never mind. I fixed it. Now I gotta figure out why its spitting out errors for the setcookies
  3. Already did that.. it spits out what it should SELECT `id`, `first`, `last`, `avatar`, `gender`, `about`, ( (DATE_FORMAT(CURDATE(),'%Y') - DATE_FORMAT(`bdate`, '%Y') ) - ( DATE_FORMAT(CURDATE(), '00-%m-%d') < DATE_FORMAT( `bdate`, '00-%m-%d')) ) AS age FROM `users` WHERE ( (DATE_FORMAT(CURDATE(),'%Y') - DATE_FORMAT(`bdate`, '%Y') ) - ( DATE_FORMAT(CURDATE(), '00-%m-%d') < DATE_FORMAT( `bdate`, '00-%m-%d')) ) BETWEEN 16 AND 36 LIMIT $skip, 2 I don't see anything wrong with it... do you?
  4. bump
  5. Wow I feel quite dumb now lol I looked at the code and changed one if statement and everything works now! Thank u so much
  6. lol its okay, I feel pretty stupid myself with the things I post on here XD
  7. I get this: Array ( => adamlacombe2012@yahoo.com [first] => John [last] => Smith [submit1] => Next step ) So thats after I submit the form with first and last name. It brings me to step one. Nothing in step one (where bdate will be submitted) i shown, no form at all. Also first and last name isn't updated where email=$email Yeah I understand that. Ill remove them. Just had doubles because I was mostly copying things from an older file I had.
  8. From what I see I think name= needs to be value=
  9. well where are you putting it? Post your code EDIT: <?php if($_POST['submit']){ // insert query here echo 'Content submitted'; echo '<meta http-equiv="REFRESH" content="0;url=URL_THAT_U_WANT_TO_REFRESH">'; }else{ //your form goes here, make sure you name your submit button, submit } ?>
  10. I already had that fixed, I realized that after looking over it again that I needed to change it to '.$email.' Still it does not pass down to step number 1. and well I try my best to code but I still am learning.
  11. Try using: <meta http-equiv="REFRESH" content="0;url=URL_THAT_U_WANT_TO_REFRESH">
  12. anyone else understand what might be going wrong? I tried changing that bit of code to just this: while( $rr3 = mysql_fetch_array(mysql_query($query)) ) { $user=clean_up($rr3[id]); $first=clean_up($rr3[first]); $last=clean_up($rr3[last]); $avatar=clean_up($rr3['avatar']); $about=clean_up($rr3[about]); echo "<tr><td valign='top' width='140' class='content'><center><img src='avatars/thumb/$avatar' /><br><a href='index.php?action=profile&id=$user'> $first $last</a></center></td><td class='content' valign='top'>".limitdesc($about)."</td></tr>"; } and still it spits out an error: Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/gamersgo/public_html/datingsnap.com/pages/search.php on line 264
  13. Does anyone else have any ideas as to why the $_POST['email'] isn't passing down the steps?
  14. Alright thanks man. have a goodnight
  15. yup its the if ((!empty($_GET['step'])) && (!empty($_POST['newpassword']))) { same error is there though. and its alright, I appreciate the effort. and you're right it is almost 3am lol no wonder im sleepy. How about we both get some rest and we will work on this tomorrow morning. sound good?
×
×
  • 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.