What's new

Databases Problems Are Painful...

Welcome to the only entrepreneur forum dedicated to building life-changing wealth.

Build a Fastlane business. Earn real financial freedom. Live your best life.

Tired of paying for dead communities hosted by absent gurus who don't have time for you?

Imagine having a multi-millionaire mentor by your side EVERY. SINGLE. DAY. Since 2007, MJ DeMarco has been a cornerstone of Fastlane, actively contributing on over 99% of days—99.92% to be exact! With more than 39,000 game-changing posts, he's dedicated to helping entrepreneurs achieve their freedom. Join a thriving community of over 90,000 members and access a vast library of over 1,000,000 posts from entrepreneurs around the globe.

Forum membership removes this block.

David Lachow

New Contributor
LEGACY MEMBER
Read Fastlane!
Read Unscripted!
Joined
Oct 1, 2021
Messages
91
Rep Bank
$430
User Power: 60%
Bonjour,
So basically there is a problem that accrued recently... :xx:
I will try my best to explain it simply and save you time. :thumbsup:
If you have experience with it, and you have time to help me, I would absolutely appreciate it! :)
-------------------------------------------------------------------------------------------
I created a database in phpmyadmin,
I wrote PHP code in connect.php,
I wrote code in signin.html,
I connected them all together.
But still, this shows up:

Se kildebildet


------------------------------------------------------------------------------------------------
Here is my signin.html code:

<form method="post" action="connect.php">
<label>First Name...</label>
<input type="text" placeholder="" id="firstName" name="firstName">
<label>Last Name...</label>
<input type="text" placeholder="" id="lastName" name="lastName">
<label>Email</label>
<input type="email" placeholder="" id="email" name="email">
<label>Password...</label>
<input type="password" placeholder="" id="password" name="password">
<label>Comfirm Password...</label>
<input type="password" placeholder="">
<input type="submit" value="Submit" name="btn btn-primary">
</form>


----------------------------------------------------------------------------------------

Here is my connect.php code:

<?php
$firstName = filter_input(INPUT_POST, 'firstName');
$lastName = filter_input(INPUT_POST, 'lastName');
$email = filter_input(INPUT_POST, 'email');
$password = filter_input(INPUT_POST, 'password');
if (!empty($firstName)){
if (!empty($lastName)){
if (!empty($email)){
if (!empty($password)){
$host = "localhost";
$dbusername = "root";
$dbpassword = "";
$dbname = "accounts";
// Create connection
$conn = new mysqli ($host, $dbusername, $dbpassword, $dbname);
if (mysqli_connect_error()){
die('Connect Error ('. mysqli_connect_error() .') '
. mysqli_connect_error());
}
else{
$sql = "INSERT INTO registration (firstName, lastName, email, password)
values ('$firstName', '$lastName', '$email', '$password')";
if ($conn->query($sql))}
echo "New record is inserted sucessfully";
}
else{
echo "Error: ".$sql . "<br>". $conn->error;
}
$conn->close();
}
}
else{
echo "Password should not be empty";
die();
}
}
else{
echo "Username should not be empty"
die();
}
?>

-------------------------------------------------------------------------------------------------------

I have watched countless of videos of this problem,
but nothing seems to explain the problem.
I know really little about PHP and databases in general.


Thank you for reading through,
I hope you can help.
If you need more information, please contact me.
 
Access Restricted: Unlock 1,000,000+ Posts

Stop Peeking Through the Keyhole.
Open the Door.

You hit a wall because the best advice isn't free—it's earned. Since 2007, MJ DeMarco has been active here daily (99.9% active rate), building a war room for entrepreneurs who refuse to settle for mediocrity.

  • Active Daily: Life-changing content posted dozens of times every day. No dead threads.
  • MJ's Inner Circle: Direct access to the author of The Millionaire Fastlane.
  • Vetted Network: Connect with founders scaling to 7 and 8 figures.
  • Proven Roadmaps: Strategy over motivation. Execution over "hustle porn."
"SCALED TO 6-FIGURE MONTHS"
"Tips and advice here saved me from huge mistakes, others allowed me to scale my business to 6-figure months."
— User MitchC
"INSANE QUALITY OF PEOPLE"
"The number of high quality people I've met from this forum has been insane. All of it predicated on building real value."
— User Richard Peck

"You are the average of the five people you surround yourself with."
Are you surrounding yourself with success?

Cupkuas,
Tu cetodemmz vjisi ot e qsucmin vjev eddsaif sidipvmz... :yy:
O xomm vsz nz citv vu iyqmeop ov tonqmz epf tewi zua voni. :vjanctaq:
Og zua jewi iyqisoipdi xovj ov, epf zua jewi voni vu jimq ni, O xuamf ectumavimz eqqsidoevi ov! :)
-------------------------------------------------------------------------------------------
O dsievif e feveceti op qjqnzefnop,
O xsuvi QJQ dufi op duppidv.qjq,
O xsuvi dufi op tohpop.jvnm,
O duppidvif vjin emm vuhivjis.
Cav tvomm, vjot tjuxt aq:

Se kildebildet


------------------------------------------------------------------------------------------------
Jisi ot nz tohpop.jvnm dufi:

<gusn nivjuf="qutv" edvoup="duppidv.qjq">
<mecim>Gostv Peni...</mecim>
<opqav vzqi="viyv" qmedijumfis="" of="gostvPeni" peni="gostvPeni">
<mecim>Metv Peni...</mecim>
<opqav vzqi="viyv" qmedijumfis="" of="metvPeni" peni="metvPeni">
<mecim>Ineom</mecim>
<opqav vzqi="ineom" qmedijumfis="" of="ineom" peni="ineom">
<mecim>Qettxusf...</mecim>
<opqav vzqi="qettxusf" qmedijumfis="" of="qettxusf" peni="qettxusf">
<mecim>Dungosn Qettxusf...</mecim>
<opqav vzqi="qettxusf" qmedijumfis="">
<opqav vzqi="tacnov" wemai="Tacnov" peni="cvp cvp-qsonesz">
</gusn>


----------------------------------------------------------------------------------------

Jisi ot nz duppidv.qjq dufi:

<?qjq
$gostvPeni = gomvis_opqav(OPQAV_QUTV, 'gostvPeni');
$metvPeni = gomvis_opqav(OPQAV_QUTV, 'metvPeni');
$ineom = gomvis_opqav(OPQAV_QUTV, 'ineom');
$qettxusf = gomvis_opqav(OPQAV_QUTV, 'qettxusf');
og (!inqvz($gostvPeni)){
og (!inqvz($metvPeni)){
og (!inqvz($ineom)){
og (!inqvz($qettxusf)){
$jutv = "mudemjutv";
$fcatispeni = "suuv";
$fcqettxusf = "";
$fcpeni = "edduapvt";
// Dsievi duppidvoup
$dupp = pix nztrmo ($jutv, $fcatispeni, $fcqettxusf, $fcpeni);
og (nztrmo_duppidv_issus()){
foi('Duppidv Issus ('. nztrmo_duppidv_issus() .') '
. nztrmo_duppidv_issus());
}
imti{
$trm = "OPTISV OPVU sihotvsevoup (gostvPeni, metvPeni, ineom, qettxusf)
wemait ('$gostvPeni', '$metvPeni', '$ineom', '$qettxusf')";
og ($dupp->raisz($trm))}
idju "Pix sidusf ot optisvif tadittgammz";
}
imti{
idju "Issus: ".$trm . "<cs>". $dupp->issus;
}
$dupp->dmuti();
}
}
imti{
idju "Qettxusf tjuamf puv ci inqvz";
foi();
}
}
imti{
idju "Atispeni tjuamf puv ci inqvz"
foi();
}
?>

-------------------------------------------------------------------------------------------------------

O jewi xevdjif duapvmitt ug wofiut ug vjot qsucmin,
cav puvjoph tiint vu iyqmeop vji qsucmin.
O lpux siemmz movvmi ecuav QJQ epf fevecetit op hipisem.


Vjepl zua gus siefoph vjsuahj,
O juqi zua dep jimq.
Og zua piif nusi opgusnevoup, qmieti dupvedv ni.
Katv vxu dmait:
1. Tvedluwisgmux ot e siemmz huuf situasdi gus qsuhsennoph raitvoupt / qsucmint / issus nittehit.
2. E muv dep hu xsuph cz dufoph emm zuastimg, TRM opkidvoupt, nottoph opfodit, nottoph aporai evvsocavit .. O xuamf hu gus tuni jutvif tumavoup optvief ug qsuhsennoph emm nztimg. O en atoph gosiceti eavj gus nz dassipv qsukidv, vjiz iwip jewi e siefz ao: Ietomz eff tohp-op vu zuas Xic eqq xovj GosicetiAO
 
Et @tdjnofo nipvoupif ecuwi, vjot ot e raitvoup gus Tvedl Uwisgmux/ Siffov.
 
Access Restricted: Unlock 1,000,000+ Posts

Stop Peeking Through the Keyhole.
Open the Door.

You hit a wall because the best advice isn't free—it's earned. Since 2007, MJ DeMarco has been active here daily (99.9% active rate), building a war room for entrepreneurs who refuse to settle for mediocrity.

  • Active Daily: Life-changing content posted dozens of times every day. No dead threads.
  • MJ's Inner Circle: Direct access to the author of The Millionaire Fastlane.
  • Vetted Network: Connect with founders scaling to 7 and 8 figures.
  • Proven Roadmaps: Strategy over motivation. Execution over "hustle porn."
"SCALED TO 6-FIGURE MONTHS"
"Tips and advice here saved me from huge mistakes, others allowed me to scale my business to 6-figure months."
— User MitchC
"INSANE QUALITY OF PEOPLE"
"The number of high quality people I've met from this forum has been insane. All of it predicated on building real value."
— User Richard Peck

"You are the average of the five people you surround yourself with."
Are you surrounding yourself with success?

Back
Top Bottom