Hi,
Thank you for your anwser,
I Think i was trying to use the same method as what you did when i was working at the Sort/OrderBy function a few weeks ago(but it didn't work out right, so i did quit)
I didn't wanted to make the post on this forum too large, so i brought up this old issue of my concerning the sorting and orderby subject.
But it was stupid of me to not tell the actuall problem.
what i'm actually working on is as follows:
I'm (re)building a large CRM application for the Company where i am working at.
The part where i am working at now has the following structure:
(Small) Relations Search:
( You can search on 16 diffrent areas for Organisation and Contact fields)
When the search results contains a list of Organisations (or see later Contacts) where you searched for and you are clicking on one.
You will get one table with al the general stuff from that company.(Such as Name, Extra Info, Employee#, Status, which Industry e.g.)
2 other tables are being used for fetching all the Communication(Gsm, Tel, Fax, Data) Numbers and Address information from the database.
The last table is used for showing all contact persons of that organisation with some other compact info on the organiastio page
When you click on one contact, you are going to a more detailed page of that person as you might understand.
The reason why i need to take along the (search) sql command a few pages is because i want to be able to go back to the page where all the search results are displayed.
javascript:history.go(-3) is not an option because there are several other functions on that page that are in the way.(interfear or how do you spell it).
asume that you are on the Contact page and on the top of that page this line below is showed where each word in that line is clickable and stands for the steps you took to get on that particular page.
(Except when you searched for a contact person. but then you also want to able to go one step "back" to the (this is no problem. done this already)) organisation level
the line looks like this:
// Relations // Search Results // Relations // Contacts
I still want to able to go back to search result page and re-execute that partical sql command (also when i searched for contact person or something else)
Can you or someone else still help me with this?
earlyer when i took along the sql string and wanted to go back to that page
mysql_query wont't fetch the data, but an echo command shows the string completly right.
on some occations, the sql string can be very long and deffintrly then i need the have the right method to ensure that it works right.
(say when there are 150 results that match my search, then there are 150 small strings attached to orgienele query trough a loop in php to extend the sql string)
where (OrgId = 1 or OrgId = 2 or OrgId =3 ... and so on) AND CountryId = 31 ......
🙂 I guess now that i can see my post on this forum as too large :rolleyes:
Since i was going for smaller
Best Regards,
Rick Beemsterboer