I created a script to insert my thousands of products into the mysql database, but products don't show up, what am i missing?

I insert new rows of information into the table

products

and insert new rows in the

products_to_catagories

Both tables have correct informatino in them, and on my categories sidebox it shows the products totale (x number) but when i click that catagory, no products show up.

I have been looking at the php and don't see what i am missing, can someone point me in the right direction?