hi guys

i have a problem with php and sql

my website is made in codeigniter and i have a transaction page which works perfectly...i also have a cp screen that shows the "last transaction"

the transactions log deposits/transfer/withdrawels and if someone purchases a package

whereas the transaction page works perfect the overview "last transaction" will not seem to display if someone has bought a package??

ive gone over the code 3million times and ive had another coder look at it too....neither of us see an error anywhere...
the code tells the db to grab all transactions as long as the user id matches their logged in id! but it completely ignores if any package has been purchased, its all from teh same database and i really cant understand why it would do this.....i was just wondering if anyone has had a similar experience because this is driving me crazy!

theres quite a lot of code to paste but if needed i can put it up here

try to print out your query and test it.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.