hello
I am doing a search engine for a library and I would like to offer the users the possibility of choosing a kind of document (video, audio, music sheet...) thanks to a check box . But the problem is that the kind of document in the database MySQL is named by an abbreviation (like "AV" for a a Video), which should not be seen on the result page. I would like that the full name "Video" is seen on the result page instead.
But I can´t find out how I can write that code.
I wrote that but it doesn´t work
[code=php]
if($_POST[`doc´]=="Video") {$sql="SELECT Tipo_de_documen to FROM tablabu LIKE "AV") }[/code]
[Please use CODE tags when posting source code. Thanks! --pbmods]
Thanks for your help
I am doing a search engine for a library and I would like to offer the users the possibility of choosing a kind of document (video, audio, music sheet...) thanks to a check box . But the problem is that the kind of document in the database MySQL is named by an abbreviation (like "AV" for a a Video), which should not be seen on the result page. I would like that the full name "Video" is seen on the result page instead.
But I can´t find out how I can write that code.
I wrote that but it doesn´t work
[code=php]
if($_POST[`doc´]=="Video") {$sql="SELECT Tipo_de_documen to FROM tablabu LIKE "AV") }[/code]
[Please use CODE tags when posting source code. Thanks! --pbmods]
Thanks for your help
Comment