Комментарии:
Thank you so much sir
Ответитьthanks it helped a lot!!!
ОтветитьError clear . It works but data's don't add the database I wonder why
Ответитьthank you!
Ответитьhello @The Wheelchair Guy, pls help me solve this issues. have been on it for while but nothing changing sir
Warning: Undefined array key "margin_tablet" in C:\xampp\htdocs\voltaweb\wp-content\plugins\elementor\core\files\css\base.php on line 776
Warning: Undefined array key "margin_mobile" in C:\xampp\htdocs\voltaweb\wp-content\plugins\elementor\core\files\css\base.php on line 776
Warning: Undefined array key "padding_tablet" in C:\xampp\htdocs\voltaweb\wp-content\plugins\elementor\core\files\css\base.php on line 776
Warning: Undefined array key "padding_mobile" in C:\xampp\htdocs\voltaweb\wp-content\plugins\elementor\core\files\css\base.php on line 776
wow!! amazing !
ОтветитьThanks a lot
ОтветитьVery nice, took care of the warning messages
ОтветитьHi Good morning..now can recover my account using my Gmail account qhich i used appr.. Please help me 😢
ОтветитьWorking!!! TQSM brother 😍
ОтветитьThanks a lot ❤
From INDIAN🇮🇳
Sir can u help me with my problem
ОтветитьThank you omggg u save my dayy!😭💗💗
ОтветитьCan I please contact you personally...i need help in my project related to this issue
ОтветитьThank you so much my guy
ОтветитьThanks a lot sir..
ОтветитьAHH LIFE SAVER! THANK YOU SM
ОтветитьHello! I have a problem in my code, can you please help me 🥲?
In short, the problem is that I can't write IF in other parts of code. Like I wrote the main part at the beginning, but I can't connect to the cookies in the body by php:
<?php
if(isset($nick) || isset($pass)) {
$nick = $_POST['nick'];
$pass = $_POST['pass'];
$pass = md5($pass."gdsgdvrg34");
$mysql = new mysqli('localhost','root','','gametchdb');
$result = $mysql->query("SELECT * FROM users WHERE nick = '$nick' AND pass = '$pass'");
$user = $result->fetch_assoc();
if(count($user) == 0) {
echo "error";
exit();
}
setcookie('user',$user['nick'], time()+ 3600 * 24, '/');
$mysql->close();
}
?>
<body>
<?php
if ($_COOKIE['user'] == ''):
?>
<?php else: ?>
<?php endif; ?>
</body>
ERROR:
Undefined array key "user" in C:\Users\Acer\Desktop\chat\auth.php on line 176
Thanks pal. Straight to the point👍
Ответитьcan u explain to me why it came out this error?
"Parse error: syntax error, unexpected token "||" in......"
How do i do that on codeigniter3?
Ответитьoh finally thanks teacher.
ОтветитьTHANK YOU BOTAK
Ответитьhi thank you for your video... I have the following issues... Warning
: Trying to access array offset on value of type bool in
I donot what to do
this is the original Line
if ( $temp_icon_cart['icon'] != '' ) {
$icon_cart = '<i class="' . $temp_icon_cart['icon'] . '"></i> ';
}
now, what do I have to put in that line to fix the error?
thank you 👍👍👍
ОтветитьThanks bro, you're big man
ОтветитьYou saved my day. Thank. <3
Ответитьif($_SERVER["REQUEST_METHOD"] == "POST"){
include 'dbconnection.php';
$email =$_POST["email"];
$password =$_POST["password"];
$sql="Select * from signup_table WHERE email='$email'" ;
$result =mysqli_query($conn ,$sql);
$num =mysqli_num_rows($result);
if($num==1){
while($row = mysqli_fetch_assoc($result))
{
if (password_verify($password, $row['password']))
{
// echo"You are logged in SUCCESSFULLY";
session_start();
$_SESSION['loggedin']= true;
$_SESSION['email']= $email;
header("location: website.php");
}
else
{
echo "<script>alert('Incorrect Password')</script>";
}
}
}
else{
echo "Invalid Credentials" . mysqli_connect_error();
}
}
This type error is showing in
if (password_verify($password, $row['password']))
{Warning: Undefined array key "password" in C:\xampp\htdocs\loginsystem\login.php on line 13 }
Thanks daddy!!!!!!!!
Ответитьthank you...sir.
Ответитьi follow you instruction in the video and yes the undefined key error is solve but it blocks the if(isset($_POST['submit'])) and cant log in
ОтветитьThanks, very helpful.
ОтветитьIt doesn't solve anything.
ОтветитьThanks a lot man , it resolved my problem
ОтветитьNow nothing appears please help
ОтветитьThank u.
ОтветитьThanks alot. This saved me
ОтветитьThanks so much! Greetings! And take care! 😀
Ответитьthanks bro! so helpful 🙌
Ответитьbs
Ответитьif this blocks the submit button, all you have to do is use $_POST[''] instead of the variable name
ОтветитьGot rid of the flproblem, but now the form won't get information.
ОтветитьGrande señor Calvo, siempre confié, un saludo desde Ecuador
ОтветитьWell is it really corect? You just seem to hide the problem by not executing the command if the $_POST array is empty. The solution for actually getting the data would be to replace the $_POST with $_REQUEST.
Ответитьi have the same problem after applying the method...plz help sir
include("connect.php");
if ( isset($name) || isset($mobile) || isset($password) || isset( $cpassword) || isset($address) || isset($image) || isset($tmp_name) || isset($role) ) {
$name = $_POST['name'];
$mobile = $_POST['mobile'];
$password = $_POST['password'];
$cpassword = $_POST['cpassword'];
$address = $_POST['address'];
$image = $_FILES['name']['photo'];
$tmp_name = $_FILES['tmp_name']['photo'];
$role = $_POST['role'];
}
if($password==$cpassword){
move_uploaded_file($tmp_name, "../uploads/$image");
$insert = mysqli_query($connect, "INSERT INTO user (name, mobile, address, password, photo, role, status, votes,) VALUES ('$name', '$mobile', '$password', '$address', '$image', '$role', 0, 0,)");
if($insert){
echo '
<script>
alert("Registration successfull!");
window.location = "../";
</script>
';
}
else{
echo '
<script>
alert("Error occured!");
swindow.location = "../routes/register.html";
</script>
';
}
}
else{
echo '
<script>
alert("Password does not match!");
window.location = "../routes/register.html";
</script>
';
}
?>
i've had the sampe problem when trying to nest at the 6-7 else statement i will get and error with undefined name :-/ what could it be. (i'm running PHP 8.08)
ОтветитьThanks a lot. Saved my day as a newbie. Instead of copying several "issets" isnide the parenthesis, i separated variables with commas and it worked.
ОтветитьI subscribed. AMAZING!! thank you,
greetings from Argentina!
Thanks you.......
ОтветитьThank you so much!
Ответить