Is there a way I can change where a PHP page selects from a MYSQL database by using a form? -


i have website , want make easier change information being shown without them having edit html/php , using ftp.

at moment have information in php file included in mysql query.

it lot easier if done using form, text field person can type table name , updates on main page , starts displaying table instead.

sorry if haven't explained well. :(

i have news you.
every php/mysql-driven site in world made exact way - edit site contents using html form.

even first php version name php/fi, stands form interpreter.

even better, site user doesn't have deal mysql - it's being done in php. no need type table names form field - table names written in php code.

usual php application being connected 1 mysql database - so, no need choose.
tables, it's being done way: user selects human-readable matter, "latest news" , being redirected php script called, say, news.php. script runs query news table in database , outputs html formatted news highlights!

even more, don't need program! there plenty of ready-made programs, such wordpress


Comments

Popular posts from this blog

c# - How to set Z index when using WPF DrawingContext? -

razor - Is this a bug in WebMatrix PageData? -

visual c++ - Using relative values in array sorting ( asm ) -