Well Michael, I really don't know.
The code you supplied works ok, but its when I try to add "INSERT INTO" the other db table, it all goes belly-up.
The search continues...
Search found 4 matches
- 20.11.2005, 12:08
- Forum: MySQL
- Topic: [PHP] 2 different tables
- Replies: 8
- Views: 2726
- 19.11.2005, 15:08
- Forum: MySQL
- Topic: [PHP] 2 different tables
- Replies: 8
- Views: 2726
- 19.11.2005, 13:27
- Forum: MySQL
- Topic: [PHP] 2 different tables
- Replies: 8
- Views: 2726
[PHP] 2 different tables
[syntax="php"]<?php mysql_pconnect("db","db","pw"); mysql_select_db("db"); $result=mysql_query("SELECT TeamName FROM telford_teams WHERE Division='1'"); mysql_query("INSERT INTO telford_1 (match_no, div, hometeam, sets_home, awayteam, ...