Welcome to WebmasterWorld Guest from 188.8.131.52
It will then print links on my pages with code such as,
The problem I have been experiencing is that during parcing this part of the search url code is altered.
When it should be - id=16827
it has been changed to - id=15427
The id number change has no logic to the alteration and left me scratching my head as to why this happens.
I can run a search query in my browser from the script and the correct id number is produced. I parse it into my pages using php include and it is altered.
[edited by: dreamcatcher at 3:22 pm (utc) on Mar. 23, 2007]
[edit reason] Use example.com, thanks. [/edit]
It seems fishy, indeed. My only guess is that there is some logical error in the included file. Just including the file should not change something like that, which leads me to believe something in the included file is altering it without your knowledge.
If I were you, I'd try to follow the logic of the included script all the way until the link is output to the browser. If need be, add some
's in there so you can see what variables are equal to along the way. These types of errors are the hardest to spot.
Good luck! :)
whats really odd is when I run the included file in a browser it produces no error. and this file was working perfectly for a year using php include. my host recently altered the nameservers so something has changed a little with the hosting. this is the only thing i can think of.