Search found 3 matches

by devnetworkphp
Sun Oct 14, 2007 10:15 am
Forum: Coding Critique
Topic: Coding webpage
Replies: 5
Views: 3816

Yes, any modifications, better design etc... from experts like you.
by devnetworkphp
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...
by devnetworkphp
Tue Oct 02, 2007 1:45 am
Forum: Databases
Topic: JOIN
Replies: 2
Views: 306

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...