Jump to content

Help with concat() in query?


kernelgpf

Recommended Posts

[code]$aquery=mysql_query("select firstname,lastname,email from advisors where concat(firstname,lastname)='$row[advisor]'")or die(mysql_error());[/code]

That is the code I'm using, and I want it to put the columns "firstname" and "lastname" together, which should equal $row[advisor], which is the first and last name of the advisor together. I'm not sure if it needs a space inbetween concat(firstname,"space?",lastname), and if so, I don't know how to put it.
Link to comment
https://forums.phpfreaks.com/topic/29230-help-with-concat-in-query/
Share on other sites

i have created a web page using MS front page and
ihave uploaded a folder named MIDI containing 600 midi files

is there any method that all the names of midi files in folder MIDI automatically appears on my web page

i dont want to write names of files in source of html page than create hyper link i have to submit nearly 2000 files i.e. (ring tones ,softwares,themes) i am using services of freewebtown.com may web page will me  freewebtown.com/xyz

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.