https://antibiotiqueaugmentin.com/surdosage-augmentin-bebe/

Help to search function

  • kennethrules
  • kennethrules's Avatar Topic Author
  • Visitor
  • Visitor
10 years 10 months ago #2257

When I use search function

demo.fastblvd.net/petitti/index.php/our-plants

when I hit search the image was missing..

Please Log in or Create an account to join the conversation.

More
10 years 10 months ago #2258

Hi,

I saw you have managed to display images. The problem now is that when you hit search button the path to the images is different. Try to use petitti/plantfiles/ as path. And if this does not work try to use absolute path:

http://demo.fastblvd.net/petitti/plantfiles/
CREATE VIEW ViewName AS 
SELECT field1, field2, field3, CONCAT('<img src=http://demo.fastblvd.net/petitti/plantfiles/"', image_field, '" />') AS image
FROM mytable

Last edit: 10 years 10 months ago by tomaz.
The following user(s) said Thank You: kennethrules

Please Log in or Create an account to join the conversation.

  • kennethrules
  • kennethrules's Avatar Topic Author
  • Visitor
  • Visitor
10 years 10 months ago #2260

One more question.. how to make query from other page go to grid page?

like a search box from other page to my grid?

Please Log in or Create an account to join the conversation.

More
10 years 10 months ago #2261

Basically you have to create a html form that posts to the certain url. Here is a forum discussion on how to create such url: toolsjx.com/support/3-suggestions/1208-s...-by-url?limitstart=0

Please Log in or Create an account to join the conversation.

Moderators: tomaz
Time to create page: 0.149 seconds

Contact Us

Contact us on Discord

Contact us on Facebook