MySQL query Insertion problem

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!

Moderator: General Moderators

Post Reply
vilvendhan
Forum Newbie
Posts: 5
Joined: Thu Apr 19, 2007 6:21 am

MySQL query Insertion problem

Post by vilvendhan »

This is the query
$qry=select count(*) as heading,id,name from tblname group by heading;

if count(*) values two . Two time need to insert those values into other table.

how can i insert.

please help me.
Last edited by vilvendhan on Wed May 23, 2007 6:40 am, edited 1 time in total.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

What?
Post Reply