Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Not unique table/alias: 'Extension'

Status
Not open for further replies.

newphpbie

Programmer
Joined
Oct 17, 2003
Messages
110
Location
GB
I'm having this SQL error appear. It didn't before, I've changed something and I don't know what it might have been to make this error.

Could someone give me an idea/example of when or how this error occurs...

TIA

 
The query works fine on my first page.

I have a link to carry the query to another page which will be 'Printer Friendly'.

It's when it opens in the new page I get that message..

The query appears to be fine...I don't understand where I should start looking to solve this error...

I knwo that doesn't help a great deal but I'm just after some hints...or hunches....
 
OK, I've compared the original uery with the one which is passed.

It appears that when I pass this variable it removes a space from within the SQL string which in turn is causing my problem. This hasn't happened before so I'm really stumped.

Why would it remove a random space from the string?
How might I go about replacing it??
 
Again, insufficient data for a meaningful answer. There are too many variables in your question to even hope to give you any kind of advice.

Again, how does the query read?

How are you passing the query from one script to another?



Want the best answers? Ask the best questions: TANSTAAFL!!
 
ok, problem solved....

I found in my original SQL string that there wasn't an offical space between the two bits I was having trouble with. I don't know why this didn't show up when I printed the query before passing it...it's all a bit of a mystry...but hey, it's working now so no probs.....

Thanks for lookin thou....
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top