300 line table in “page”
-
I want to my web page include a table with 300 lines. Each row will change only certain parameters.
I want to do the following:
First to define line – insert in header.php in my themes:<?php function fotogalerija($povezava, $slika) { print '<tr><td class=galerija_slika> <a href="http://galerija.smucka.com/categories.php?cat_id='.$povezava.'"><img src="/foto/'.$slika.'/prva_s.jpg" width=340 height=120></a> </td></tr></table>'; } ?>Then call this – i want insert in admin, where I create new page:
<?php fotogalerija("60","slo/maze12"); ?> <?php fotogalerija("61","slo/jerman5"); ?> <?php fotogalerija("62","tuj/ahonen3"); ?>Problem is, that this not work. Know Somebody how to solve problem. It is possible also to include in news?
In normal page (no WordPress) function fotogalerija work normally!
Thanks you!
-
You did not specify a blog address or reason for posting when you created this topic.
This support forum is for WordPress.com hosted blogs only. If you have a self-hosted WordPress blog you need to seek help at the WordPress.org forums, not here.
If you don’t understand the difference, you may find this information helpful.
- The topic ‘300 line table in “page”’ is closed to new replies.