<script src="js/switches.js"></script>
<script src="js/reg-custom.js"></script>
</head>
<body>
<?php include "includes/nav.php"; ?>
<div class="cotol_content">
<div class="container">
<div class="row">
<div class=" col-md-4 col-lg-4 fix_if">
<div class="textdiv">
<?php
<b>include 'includes/db.php';</b>
$category = R::findCollection( 'categories', "ORDER BY 'id'");
while ( $category1 = $category->next() )
{
?>
<a href="aaa"><?php echo $category1->category_title; ?> </a><br>
<?php
}
//$title_category = R::findLike( type: 'categories', array( ''))
?>
<?php
session_start();
require 'rb.php';
R::setup( 'mysql:host=127.0.0.1;dbname=carcalor_db','root', '' );
if ( !R::testconnection() )
{
exit ('Нет соединения с базой данных');
}
?>