How to ignore _ character, for use with php variables
Posted on 2005-05-11
I need to combine these to form HSLAB_102_36. $lab_$room_$comptuers does not combine them...if I put a space before the _ then it will print it...with the spaces in place, and i cannot have the spaces in place though. Is there some way to do an ignore next character command such as / or \ ? I tried both of those, and it does not work. My actual code sample is below, i need to somehow get it to output exactly "HSLAB_102_36"
$sqlquery = "select * from log where computer='$lab_$room_$computers' order by date DESC, time DESC;";