I am basically trying to code php via a HTML link
i.e.
If I or any other users click on a link, I want to change variable(s) to a certain value, how would I go about doing this?
Help with coding
Moderator: General Moderators
-
litebearer
- Forum Contributor
- Posts: 194
- Joined: Sat Mar 27, 2004 5:54 am
Re: Help with coding
Perhaps if you showed us your code we might have a place from which to start
Re: Help with coding
Code: Select all
1. <div id="divMenuBar">
2. <ul>
3. <li><a href="#">Food</a></li>
4. <li><a href="#">Toiletries</a></li>
5. </ul>
</div>
What I want to do in MySQL and OOPs is to display the list of foods when I click the link in line 3 and the list of toiletries in line 4. but using OOPs in order to only that keyword e.g. 'food' as in line 3 and 'toiletries' in line 4
I want to send this data so I can query the database, rather than make separate pages for them
Re: Help with coding
Oh well I have solved the problem 