- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
I would like to make a tree menu with category and sub category in Php. When i click on category then display subcategory with link that subcategory page. it is with mysql database. I m tiered to make this but i can't. Please help me. I m providing a Example....... … |
|
i m a beginner in Php. Please help me to open link in new window. code is [code] <?php require("connect.php"); $album =mysql_query("SELECT * FROM albums"); echo "<table width='22%'>"; while ($row = mysql_fetch_assoc($album)) { echo " <tr> <td> <img src='images/".$row['cover']."' width='100%' height='100%'> </td> <td> <b>".$row['name']."</b><br> ".$row['description']." </td> </tr> "; } echo … |
|
Re:
Hi, I have in my database the location of some images I want to display, all formatted as: [quote] ../images/products/1.jpg ../images/products/1.jpg [/quote] I'm trying to diplay them in a webpage but get the following error: [QUOTE] x Warning: substr() expects parameter 1 to be string, array given in C:\xampp\htdocs\mysite\index.php x … |