Support

Account

Home Forums Front-end Issues Font-end search form for a subfield Reply To: Font-end search form for a subfield

  • Thanks @hube2

    Sorry for the delay, I’ve had a big DB error for several days…

    I’ve tried to escape but it doesn’t work. Maybe with the prepare method, I’ll try to figure it out.

    Just before setting this topic on solve, I have one last question : what if this query takes too long and generate an error ? My website has been down for 4 days, and the host said it was due to a “never ending SQL request”…

    Is there a way to secure this query ?
    What I’ve done for now is to set a max for the $max_rows var (if it’s above 35 the loop won’t start).
    If you have any idea they are more than welcome 🙂

    Thanks a lot again for all your help on this

    Lucas