Posts by OliverDamon • 49 points
10 posts
-
0
votes2
answers905
viewsQ: Insert ID from one Table into another Table
How do I insert the ID of a table into another table? <?php $login_cookie = $_COOKIE['login']; if (!isset($login_cookie)) { header("Location: index.php"); } $con = mysqli_connect('localhost',…
-
0
votes0
answers26
viewsQ: Page marking
I am trying to create a bookmarking field book page, but I am not able to relate tables. I created 3 tables User, Title and Pages. I even managed to relate to the user with cookie, but I’m not able…
phpasked OliverDamon 49 -
0
votes1
answer152
viewsQ: Sending of Friendship
Hello! I’m creating a social networking system. But I stopped by sending friend request. I created the user and friendship tables, but I’m not able to insert it. It keeps saying that there was error…
phpasked OliverDamon 49 -
4
votes1
answer390
viewsQ: Save cropped image with JCROP pro Bank
Hello! I am creating a user profile and to crop the image I am using JCROP. He cuts normally for me, but wanted to know how I do to save this result in the image and the bank accept this cut that…
-
0
votes1
answer151
viewsQ: Place Items in Scroll
Hello! I’m trying to create a horizontal scroll with certain items. But it breaks down instead of continuing to the side. I want to do a scroll effect to show more content next door. .container {…
-
0
votes1
answer217
viewsQ: Limit a loop
I’m recently practicing PHP and I know how to loop with While, but I wanted to limit this loop so as not to break a column of the site. <?php include_once 'conexao.php'; $sql = "select * from…
-
0
votes2
answers385
viewsQ: Send blank field to database
I created a database and am sending the information normally. However, I have an optional field in the form. If the user wants to provide more details, he normally writes, if not, I wanted to send…
-
0
votes3
answers43
viewsA: Registering form in the Database
Solved. I changed the settings in the database. //o banco de dados estava: erro enum('Sem páginas','Capítulo repetido', 'Páginas embaralhadas', 'Falta página', 'Páginas repetidas') //mudei para:…
-
0
votes3
answers43
viewsQ: Registering form in the Database
<body> <?php $titulo = $_POST['titulo2']; $cap = $_POST['capitulo2']; $opt = $_POST['opcoes']; $conexao = mysqli_connect("localhost","root","","report"); $sql2 = "insert into avise…
-
-1
votes1
answer33
viewsQ: E-mail Notice/Report
Hello! I’m a beginner and I’m practicing, but PHP don’t know almost nd. I’m looking to create a kind of email warning. Containing the title, chapter number and content chosen by the select. I tried…