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 Borodin

New Contributor
LEGACY MEMBER
Read Fastlane!
Joined
Oct 1, 2021
Messages
48
Rep Bank
$295
User Power: 77%
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.
 
Membership Required: Upgrade to Expose Nearly 1,000,000 Posts

Ready to Unleash the Millionaire Entrepreneur in You?

Become a member of the Fastlane Forum, the private community founded by best-selling author and multi-millionaire entrepreneur MJ DeMarco. Since 2007, MJ DeMarco has poured his heart and soul into the Fastlane Forum, helping entrepreneurs reclaim their time, win their financial freedom, and live their best life.

With more than 39,000 posts packed with insights, strategies, and advice, you’re not just a member—you’re stepping into MJ’s inner-circle, a place where you’ll never be left alone.

Become a member and gain immediate access to...

  • Active Community: Ever join a community only to find it DEAD? Not at Fastlane! As you can see from our home page, life-changing content is posted dozens of times daily.
  • Exclusive Insights: Direct access to MJ DeMarco’s daily contributions and wisdom.
  • Powerful Networking Opportunities: Connect with a diverse group of successful entrepreneurs who can offer mentorship, collaboration, and opportunities.
  • Proven Strategies: Learn from the best in the business, with actionable advice and strategies that can accelerate your success.

"You are the average of the five people you surround yourself with the most..."

Who are you surrounding yourself with? Surround yourself with millionaire success. Join Fastlane today!

Join Today
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.
 
Membership Required: Upgrade to Expose Nearly 1,000,000 Posts

Ready to Unleash the Millionaire Entrepreneur in You?

Become a member of the Fastlane Forum, the private community founded by best-selling author and multi-millionaire entrepreneur MJ DeMarco. Since 2007, MJ DeMarco has poured his heart and soul into the Fastlane Forum, helping entrepreneurs reclaim their time, win their financial freedom, and live their best life.

With more than 39,000 posts packed with insights, strategies, and advice, you’re not just a member—you’re stepping into MJ’s inner-circle, a place where you’ll never be left alone.

Become a member and gain immediate access to...

  • Active Community: Ever join a community only to find it DEAD? Not at Fastlane! As you can see from our home page, life-changing content is posted dozens of times daily.
  • Exclusive Insights: Direct access to MJ DeMarco’s daily contributions and wisdom.
  • Powerful Networking Opportunities: Connect with a diverse group of successful entrepreneurs who can offer mentorship, collaboration, and opportunities.
  • Proven Strategies: Learn from the best in the business, with actionable advice and strategies that can accelerate your success.

"You are the average of the five people you surround yourself with the most..."

Who are you surrounding yourself with? Surround yourself with millionaire success. Join Fastlane today!

Join Today

Welcome to an Entrepreneurial Revolution

The Fastlane Forum empowers you to break free from conventional thinking to achieve financial freedom through UNSCRIPTED® Entrepreneurship where relative value and problem-solving are executed at scale. Living Unscripted® isn’t just a business strategy—it’s a way of life.

Follow MJ DeMarco

Get The Books that Change Lives...

The Fastlane entrepreneurial strategy is based on the CENTS Framework® which is based on the three best-selling books by MJ DeMarco.

mj demarco books
Back
Top Bottom