Member Avatar
Brijesh_3 Joined the Community
Member Avatar
Hello everybody,

I'm stuck with this and I hope there is somebody who can help me.

I have a Form

<html> <form action="" method="POST"> <input type="text" name="credentials[firstname]"> <input type="text" name="credentials[lastname]"> <input type="text" name="credentials[email]"> <input type="text" name="game[points]"> <input type="text" name="game[wins]"> <input type="submit" name="submit"> </form> </html>

and I want to post the … Topic by reminem in Web Development
Member Avatar
roshan_2 Joined the Community
Member Avatar
I tried to update Windows 10 but I didn't have enough storage so it made me use a flash drive to complete the update. I restarted the computer when it was done, and now it's stuck on a "Please insert external storage media and press OK" error message. I press … Topic by Pamela_6 in Microsoft Windows
Member Avatar
Featured Reverend Jim 1,623 Replied To a Post in Memorable Quotations
Topic by vegaseat in Community Center
I am patient with stupidity but not with those who are proud of it.

- Edith Sitwell Reply by Reverend Jim
Member Avatar
Siphesihle Joined the Community
Member Avatar
deceptikon 1,775 Replied To a Post in User Input Char Array?
Topic by daino in Software Development
c++
> char array's are actually pointers

This is a common misconception. An array is *not* a pointer, but when used in value context, the name of an array is converted to a pointer to the first element in the array. In object context, the name of an array is not … Reply by deceptikon
Member Avatar
Ok today I figured out that the new DaniWeb UI has major problems , I just up voted a comment leaving a comment that someone else down voted. What happened ? I will not tell … try it your self … haven't you ? .. WHY ? (no analysis ? … First Post in Topic by jkon in Community Center
Member Avatar
bhavin_2 Joined the Community
Member Avatar
transit Joined the Community
Member Avatar
Here's the jsfiddle - https://jsfiddle.net/zvavjjdo/, the icon doesn't appear in the jsfiddle but they are the boxes besides "easy to modify" "bootstrap grid" etc. Topic by newbi11 in Web Development
Member Avatar
labelle_1 Joined the Community
Member Avatar
Nicksmith Joined the Community
Member Avatar
vedant_2 Joined the Community
Member Avatar
Kha_1 Joined the Community
Member Avatar
abrar_2 Joined the Community
Member Avatar
Pamela_6 Replied To a Post in Hello everyone
Topic by mandylopez in Community Center
Hello mandylopez, Im Connie, nice to meet you, wellcome to Daniweb community. Reply by Pamela_6
Member Avatar
Topic by Sumier in Web Development
> I am not sure where to enter the additional php you provided.

Do not consider it anymore, I thought the request and response was between PHP pages and I was suggesting you to move the client to a landing page. In this case you probably need more an header … Reply by cereal
Member Avatar
Topic by Sumier in Web Development
My php script is connected to an android app I am making. I only have 3 php files. Database, Registration, and Login. The app is supposed to send the information entered in the registration form to my Mysql database. Instead, the app toasts a <br/> and doesnt send any information … Reply by Sumier
Member Avatar
Featured rproffitt 562 Replied To a Post in run on boot, and power on computer on
Topic by lewashby in Linux and Unix
Not the answer but in my mind the line may not belong in that folder.

I don't have a Mint system to work along with you on this but if I had to do this, I'd research with this:
https://www.google.com/search?q=linux+mint+boot+login+and+run+an+app+tutorial

I see folk have kicked it around. I had jury … Reply by rproffitt
Member Avatar
Andrew_40 Replied To a Post in User Input Char Array?
Topic by daino in Software Development
c++
Properly getting input
1. Use a **char array**
2. Use the **get** function to accept input
3. Use the **ignore** function to remove extra input
note : char array's are actually pointers, but the cout function derefferences automatically. This is important to know for passing the array to a function. … Reply by Andrew_40
Member Avatar
Andrew_40 Joined the Community
Member Avatar
Topic by Sumier in Web Development
Okay,

if the register request is sent to another script you have to redirect the client back to a page that can accept GET requests. Which can be the sign in page or the sign up in case the registration failed. So at the end of the script, right after … Reply by cereal
Member Avatar
Topic by Siberian in Microsoft Windows
In my experience, Microsoft has a poor record of cleaning up after itself when installing updates. I have never run into a problem deleting these leftover folders. Leaving them present but hidden just clutters things up. Reply by Reverend Jim
Member Avatar
Topic by Sumier in Web Development
The page now shows empty and in the app, I still get "<br/>" when I hit the register button.

<?php
if($_SERVER['REQUEST_METHOD']=='POST'){

include 'DatabaseConfig.php';

$con = mysqli_connect($localhost,$username,$password,$database);

$username = $_POST['username'];
$password = $_POST['password'];
$email = $_POST['email'];

$CheckSQL = "SELECT * FROM users WHERE email='$email'";

$check = mysqli_fetch_array(mysqli_query($con,$CheckSQL));

if(isset($check)){

echo 'Email Already … Reply by Sumier
Member Avatar
Topic by Sumier in Web Development
> When I remove the extra bracket, I get this "Parse error: syntax error, unexpected end of file".

I suggested you to move mysqli_close() inside the [statement](http://php.net/manual/en/control-structures.if.php), not to remove the extra bracket. Otherwise you get the syntax error. Reply by cereal
Member Avatar
Topic by Sumier in Web Development
When I remove the extra bracket, I get this "Parse error: syntax error, unexpected end of file". Here is what it looks like.

<?php
if($_SERVER['REQUEST_METHOD']=='POST'){

include 'DatabaseConfig.php';

$con = mysqli_connect($localhost,$username,$password,$database);

$username = $_POST['username'];
$password = $_POST['password'];
$email = $_POST['email'];

$CheckSQL = "SELECT * FROM users WHERE email='$email'";

$check = mysqli_fetch_array(mysqli_query($con,$CheckSQL)); … Reply by Sumier
Member Avatar
Featured Dani 1,570 Replied To a Post in Where are the format btns in reply or post went ?
Topic by jkon in Community Center
Hi Davey,

Unfortunately, the Markdown editor that we use (and which our toolbar is attached to) is not mobile-friendly. Therefore, we are unable to include our toolbar on mobile devices because it simply would be extremely, extremely buggy and not work correctly.

Keeping the editor clutter-free on mobile is also … Reply by Dani
pillsplus Joined the Community
Member Avatar
Featured diafol 3,343 Replied To a Post in Where are the format btns in reply or post went ?
Topic by jkon in Community Center
This happened to me yesterday on an old pc. Reply by diafol