wow thanks a lot for the quick reply. I had tried this:
<?php echo $id?>
and this:
<?php $id;?>
but never your solution.
Search found 10 matches
- Wed Jul 14, 2010 1:59 pm
- Forum: PHP - Code
- Topic: sending php variable hidden form
- Replies: 2
- Views: 208
- Wed Jul 14, 2010 1:28 pm
- Forum: PHP - Code
- Topic: sending php variable hidden form
- Replies: 2
- Views: 208
sending php variable hidden form
I've been at this for over an hour and it's not posting the hidden input: $id = "test"; <form action="edit.php" method="post" onsubmit="return validateForm(this)"> Title: <input type="text" name="title"><br /> Author: <input type="text...
- Wed Jul 14, 2010 1:31 am
- Forum: PHP - Code
- Topic: php sending links via email
- Replies: 8
- Views: 221
Re: php sending links via email
But I dont want to see www.reset-password.com in my email. I want to see "Change password". I want the link to appear as that string not the actual link itself. That's what I'm getting at.URL typed out like www.reset-password.com. The e-mail
- Tue Jul 13, 2010 10:44 pm
- Forum: PHP - Code
- Topic: php sending links via email
- Replies: 8
- Views: 221
Re: php sending links via email
I have no idea how to user headers. Never taught that. I just want the link to show up as "A Link to change password" and not the actual link. Looking up headers now, but help would be appreciated.
- Tue Jul 13, 2010 10:29 pm
- Forum: PHP - Code
- Topic: php sending links via email
- Replies: 8
- Views: 221
Re: php sending links via email
Oh wow what a tard. Okay fixed it: $subject = "Password Reset!"; $message = "Here is the link to reset your password: <ahref='http://...../changepassword.php?id=2489&user=tom'>Link to Change Password</a> \r\n$userid, please don't forget it often!\n\n"; mail( $email, "Sub...
- Tue Jul 13, 2010 10:18 pm
- Forum: PHP - Code
- Topic: php sending links via email
- Replies: 8
- Views: 221
Re: php sending links via email
isn't that what I did in the above code? It doesn't work.
- Tue Jul 13, 2010 10:10 pm
- Forum: PHP - Code
- Topic: php sending links via email
- Replies: 8
- Views: 221
php sending links via email
I'm trying to send an email from my code with a link to another page. Like so: $subject = "Password Reset!"; $message = "Here is the link to reset your password: <a href='changepassword.php?id=2489&user=tom'>Link to Change Password</a> \r\n$userid, please don't forget it often!\n\...
- Mon Jul 12, 2010 12:29 pm
- Forum: PHP - Code
- Topic: comparing php mysql strings
- Replies: 4
- Views: 145
Re: comparing php mysql strings
thats it. That works! Thank you so much for the quick reply One thing I didn't realize is that the while loop i have to check the query actually moved the file pointer ahead to do so. So next time I go to check the query result it was actually empty. Learning is fun! 
- Mon Jul 12, 2010 11:23 am
- Forum: PHP - Code
- Topic: comparing php mysql strings
- Replies: 4
- Views: 145
Re: comparing php mysql strings
I have also tried to no avail:
Code: Select all
if(!empty($row['userID'])){
//and
if(isset($row['userID'])){
- Mon Jul 12, 2010 11:21 am
- Forum: PHP - Code
- Topic: comparing php mysql strings
- Replies: 4
- Views: 145
comparing php mysql strings
I'm having a heck of a time getting the code to evaluate this function the way I want it. This is my first real php project so please ignore n00b mistakes and things that could be done simpler. Still learning. If you look at my code you can see all the echo's I've been trying to use to debug. The is...