hi,hope u guys can help me out her as i am just learning php
1.i need to create a table to be put in joomla,using php code
2.the table is query to the database to call out only 1 field from the dbtable that has several other field
3.how can i make each field in table in joomla to become a link that will open up a new page for user to view the selected value from dbtable
4.this will continue automatically when other post new value
its something like this
item
watch
laptop
motocycle
above will be the web table view,when a user click let say watch it will dispaly in another page
item description price
watch timex $300
then a back button will bring them back to the selection page
can plz provide me with php code to be inserted in joomla
thanx
dynamic html table
Moderator: General Moderators
Re: dynamic html table
I suggest you look through the Joomla API as they have prebaked classes for doing this sort of thing.
-
wan_marwan
- Forum Newbie
- Posts: 3
- Joined: Tue Jan 12, 2010 6:44 pm
Re: dynamic html table
sorry but joomla API?
im really2 new at this,this is my 1st project
im really2 new at this,this is my 1st project
-
manojsemwal1
- Forum Contributor
- Posts: 217
- Joined: Mon Jun 29, 2009 4:13 am
- Location: India
Re: dynamic html table
These value comes from database?
if yes do one thing also access item code and make a hyper link and create a file abc.php
in that file fetch the data where the user has click like
laptop //laptop id is 45454545 in database
when user click on that that time abc.php?laptop=45454545 file will open and
get the laptop value and fetch the laptop information.
if yes do one thing also access item code and make a hyper link and create a file abc.php
in that file fetch the data where the user has click like
laptop //laptop id is 45454545 in database
when user click on that that time abc.php?laptop=45454545 file will open and
get the laptop value and fetch the laptop information.
Re: dynamic html table
http://docs.joomla.org/
Their developer manuals aren't the most extensive but if I remember correctly there's a tutorial somewhere for something very similar to what you're doing.
Their developer manuals aren't the most extensive but if I remember correctly there's a tutorial somewhere for something very similar to what you're doing.
-
wan_marwan
- Forum Newbie
- Posts: 3
- Joined: Tue Jan 12, 2010 6:44 pm
Re: dynamic html table
hi manojsemwal1,
can u write the code down please,im not getting ur explaination,im very new at this,all my code are from tutorial sorry
can u write the code down please,im not getting ur explaination,im very new at this,all my code are from tutorial sorry
-
manojsemwal1
- Forum Contributor
- Posts: 217
- Joined: Mon Jun 29, 2009 4:13 am
- Location: India
Re: dynamic html table
ARe u using any unique id for product ?
if yes call the ID with item list.
send me the code............
if yes call the ID with item list.
send me the code............