category function
So i'm writing a little thing and i'm kinda stuck at some simple place :wallbash:
The idea is simple I have mysql table "categories" with id,name etc And "data" table with categorie entrie (ore what you call it) So the problem is this part in code as you can see there is dublicate for $category function for link name but what i wan't is kinda hard for me to explain so the first $category function puts an category id in front of the link (what it takes from mysql "data" table ) and second one basicly displays the category id as well but what i want is that the second one to show categorie name from "categories" table basing it on it's id from "data" table :wallbash: So any ideas how to define $category for that i know it's kinda simple but i'm stuck here. Can any one please help? |
which source
|
custom made
|
All times are GMT +2. The time now is 13:27. |
Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.