Search found 3 matches
- Sun Oct 14, 2007 10:15 am
- Forum: Coding Critique
- Topic: Coding webpage
- Replies: 5
- Views: 3816
- Sun Oct 14, 2007 9:02 am
- Forum: Coding Critique
- Topic: Coding webpage
- Replies: 5
- Views: 3816
Coding webpage
<?php require_once('db.php'); $act=$_GET['act']; $id=$_GET['id']; if($act=='insert') { $username=$_POST['username']; if(empty($username)) $error='Please enter username'; if(!empty($error)) { $act='form'; } else { if(empty($id) && empty($error)) $query=mysql_query("UPDATE userlist SET u...
JOIN
I am newb to sql. tables contact contact_id contact_name orders order_id contact_id Which one is right for the table? SELECT * FROM contact, orders WHERE contact.contact_id=orders.order_id SELECT * FROM contact, orders WHERE orders.order_id=contact.contact_id i think both are correct as i am compari...