PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Hi. I'm writing a registration / email validation script. The registration form generates the validation string and stores it in the MySQL table in the user's tuple. The part that's giving me issues is the validation page. The user follows an email link to a page that asks for his email and validation code. It's supposed to check that the pair entered matches the tuple and if so update the "validated" column to "YES", but it doesn't work. I think in might have to do with my not accessing the resource properly, but try looking up "accessing php resource" on the web.
Hahaha.
Your result is still a mysql resource. You can use $data = mysql_fetch_assoc($result); if ($data['val_string'] == $_POST['val_string']){ // }
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.