Jump to content

how can I break up a variable to include


steveh62

Recommended Posts

I Have a variable string

$x = "some html stuff <select><option value><option></select> more html stuff"

 

that is called to format some html from indclude on another page...

 

what I need is to have a msql query inside my variable to dynamically format the <select></select> from db data ...

 

how do I break out of a string formated html string to include the query?

 

rgds

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.