$name = $_POST['name'];
$name = mysql_real_escape_string($name);
$query = "SELECT phone_number FROM users WHERE name = '$name'";
$result = mysql_query($query);
$name = $_POST['name'];
$name = mysql_real_escape_string($name);
$query = "SELECT phone_number FROM users WHERE name = '$name'";
root@raspberrypi:~/framebuffer-vncserver# mkdir -p build && cd build
root@raspberrypi:~/framebuffer-vncserver/build# cmake ..
-- The C compiler identification is GNU 4.9.2
-- The CXX compiler identification is GNU 4.9.2
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- LIBVNC: LIBVNC-NOTFOUND
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
LIBVNC
linked by target "framebuffer-vncserver" in directory /root/framebuffer-vncserver
-- Configuring incomplete, errors occurred!
See also "/root/framebuffer-vncserver/build/CMakeFiles/CMakeOutput.log".
root@raspberrypi:~/framebuffer-vncserver/build# make
make: *** Не заданы цели и не найден make-файл. Останов.