-
Gave Reputation to Dani in How Can I Use JavaScript to Output Value of Input A into Input B?
So sorry I couldn’t help. I was still sleeping when you posted. -
Replied To a Post in How Can I Use JavaScript to Output Value of Input A into Input B?
I've resolved the issue. -
Marked Solved Status for How Can I Use JavaScript to Output Value of Input A into Input B?
I have a two-step login form. In the first step, I have "username" as "id" and "name" of the text input. I also have "password" as id and "name" of … -
Edited How Can I Use JavaScript to Output Value of Input A into Input B?
I have a two-step login form. In the first step, I have "username" as "id" and "name" of the text input. I also have "password" as id and "name" of … -
Edited How Can I Use JavaScript to Output Value of Input A into Input B?
I have a two-step login form. In the first step, I have "username" as "id" and "name" of the text input. I also have "password" as id and "name" of … -
Created How Can I Use JavaScript to Output Value of Input A into Input B?
I have a two-step login form. In the first step, I have "username" as "id" and "name" of the text input. I also have "password" as id and "name" of … -
Began Watching How Can I Use JavaScript to Output Value of Input A into Input B?
I have a two-step login form. In the first step, I have "username" as "id" and "name" of the text input. I also have "password" as id and "name" of … -
Gave Reputation to Dani in How Do I SELECT These Two Tables Using A Single PDO Query
Also, your question asks how you can select from these two tables using a single query. When selecting from multiple tables at once, the tables need to relate to each … -
Replied To a Post in How Do I SELECT These Two Tables Using A Single PDO Query
@Dani, thanks for your time and input. I'm creating a course registration form, whereby a registered user can select a course and register for it. I want to extract the … -
Created How Do I SELECT These Two Tables Using A Single PDO Query
I have two MySQL tables, which I want to SELECT using a single PDO query and positional placeholders. I've been going through similar questions here to find a solution, but … -
Began Watching How Do I SELECT These Two Tables Using A Single PDO Query
I have two MySQL tables, which I want to SELECT using a single PDO query and positional placeholders. I've been going through similar questions here to find a solution, but … -
Replied To a Post in How Can I Get This PHP Registration Script To Redirect To Profile Page?
@Dani, thanks for your time and input. I can't seem to figure out what's causing the isssue. That's why I need help. -
Replied To a Post in How Can I Get This PHP Registration Script To Redirect To Profile Page?
@rproffitt, During my quick research, I saw a recommendation of PBKDF2 and HMAC-SHA-256, but no programmatic example I can easily understand. Please, do you have an example code for that? … -
Replied To a Post in How Can I Get This PHP Registration Script To Redirect To Profile Page?
@rproffitt, I've modified line 177 you pointed out to the following: // insert form input into database $stmt=$pdo->prepare("INSERT INTO users (firstname, lastname, username, gender, password, email, birthday, phone, regdate, userimage) … -
Gave Reputation to rproffitt in How Can I Get This PHP Registration Script To Redirect To Profile Page?
Line 177 sets off the red alert here. Why? Read from: https://www.google.com/search?&q=never+store+passwords+in+a+database -
Created How Can I Get This PHP Registration Script To Redirect To Profile Page?
I'm trying to redirect user to "**userinfo.php**" after successful registration, but the browser terminates the redirection because it goes into endless loops. Moreover, I need your insight on if the … -
Began Watching How Can I Get This PHP Registration Script To Redirect To Profile Page?
I'm trying to redirect user to "**userinfo.php**" after successful registration, but the browser terminates the redirection because it goes into endless loops. Moreover, I need your insight on if the … -
Replied To a Post in How Can I Get This PHP Registration Using PDO Prepared Statements To Work?
@rproffitt, Thanks for your continued interest and input. Well, I don't expect you to write the code for me, but I desperately need someone to closely look at my code … -
Replied To a Post in How Can I Get This PHP Registration Using PDO Prepared Statements To Work?
@rproffit, I just modified insert query in the **register.php** file, but still the queries don't execute. Is the modified approach the best secure way of storing password? <?php // include … -
Created How Can I Get This PHP Registration Using PDO Prepared Statements To Work?
I'm struggling to build a PHP registration script using PDO prepared statements with positional placeholders. But the MySQL queries don't execute. `var_dump();` doesn't display any error. Please, I need your … -
Began Watching How Can I Get This PHP Registration Using PDO Prepared Statements To Work?
I'm struggling to build a PHP registration script using PDO prepared statements with positional placeholders. But the MySQL queries don't execute. `var_dump();` doesn't display any error. Please, I need your … -
Replied To a Post in How Can I Get This Insert Query Using PDO Positional Placeholders To Work?
@AndreRet, Thanks for your input. There's already session_start() call in the config.php file: <?php // display errors, warnings, and notices ini_set("display_errors", true); error_reporting(E_ALL); // requirements require("constants.php"); require("functions.php"); // enable sessions … -
Created How Can I Get This Insert Query Using PDO Positional Placeholders To Work?
I'm struggling to add a course to a MySQL database table using PDO prepared query with positional placeholders. When the form is submitted, the database table is not updated, as … -
Began Watching How Can I Get This Insert Query Using PDO Positional Placeholders To Work?
I'm struggling to add a course to a MySQL database table using PDO prepared query with positional placeholders. When the form is submitted, the database table is not updated, as … -
Replied To a Post in How Can I Make This 2-Page PHP Login Form To Remember User Input On Page 2
@AndreRet , Thanks, I've managed to fix the issue. -
Created How Can I Make This 2-Page PHP Login Form To Remember User Input On Page 2
I'm struggling to create a two-paged form using $_SESSION. What I want to achieve is the first page (page1.php) requires the user to enter his/her email address. And the second … -
Began Watching How Can I Make This 2-Page PHP Login Form To Remember User Input On Page 2
I'm struggling to create a two-paged form using $_SESSION. What I want to achieve is the first page (page1.php) requires the user to enter his/her email address. And the second … -
Replied To a Post in MySQL PDO UPDATE query doesn't work
Thanks for your insight. No error message is displayed. I opened php.ini to ascertain that error_reporting is set to E_ALL, set display_errors to ON, and output_buffering is set to OFF, … -
Created MySQL PDO UPDATE query doesn't work
I have a script that populates a form from MySQL database table row for editing. I'm performing MySQL SELECT and UPDATE via PDO. After editing a particular table row and … -
Began Watching MySQL PDO UPDATE query doesn't work
I have a script that populates a form from MySQL database table row for editing. I'm performing MySQL SELECT and UPDATE via PDO. After editing a particular table row and … -
Created Database Table Row Data Doesn't Populate For Editing
I'm doing both SELECT and UPDATE queries using named placeholders. But course data from the database doesn't populate form, as expected. The database table row records don't populate, each time … -
Began Watching Database Table Row Data Doesn't Populate For Editing
I'm doing both SELECT and UPDATE queries using named placeholders. But course data from the database doesn't populate form, as expected. The database table row records don't populate, each time … -
Replied To a Post in Issue Updating A Single Row From A MySQL Database Table
@alan.davies, Thanks for your time and insight. Yes, "query()" is a custom function located in "functions.php". That's my attempt on using PDO for database connection and queries with prepared statements. … -
Created Issue Updating A Single Row From A MySQL Database Table
I'm trying to upgrade my script from PHP 5.5 to PHP 7.2. And that came with the script not able to modify a selected table row as before. The records … -
Began Watching Issue Updating A Single Row From A MySQL Database Table
I'm trying to upgrade my script from PHP 5.5 to PHP 7.2. And that came with the script not able to modify a selected table row as before. The records … -
Replied To a Post in Help needed to properly display data from MySQL tables
@broj1, thanks for your input and insight. I've already renamed the table colunm names to `user_id`, `course_id` and `courseware_id`. I've also made the `users` table to only hold unique/one-time user … -
Marked Solved Status for MySQL Syntax Error
I got a syntax error flag in my "users" database table, but can't figure the issue out. Please, I need your help. The following is the error message: Error SQL … -
Replied To a Post in MySQL Syntax Error
@rproffitt, Thanks for your input. I was able to resolve the issue by deleting some data inserted into the DB tables. -
Created MySQL Syntax Error
I got a syntax error flag in my "users" database table, but can't figure the issue out. Please, I need your help. The following is the error message: Error SQL … -
Began Watching MySQL Syntax Error
I got a syntax error flag in my "users" database table, but can't figure the issue out. Please, I need your help. The following is the error message: Error SQL … -
Created Help needed to properly display data from MySQL tables
I'm trying to create an online learning courseware and connecting to MySQL database via PDO. What I'm trying to achieve is: if a user is logged in after registering for … -
Began Watching Help needed to properly display data from MySQL tables
I'm trying to create an online learning courseware and connecting to MySQL database via PDO. What I'm trying to achieve is: if a user is logged in after registering for … -
Replied To a Post in how to link data base delete button to the website delete button
It would have been better for you to post your code, so we can see where the error is coming from. Show some effort. That said, let's assume that I … -
Began Watching how to link data base delete button to the website delete button
how to link data base delete button to the website delete button -
Replied To a Post in I Need Help to Successfully Create an Online Courseware Database
I just thought I should make more clarifications, to see if I would get the much needed help. I noticed that id mix-up might be causing the issue, but I'm … -
Replied To a Post in A button to redirect
You can simply use HTML bookmarking to redirect visitors to a certain location on a web page. You first need to create an id bookmark like this: <a id="faqs">Read our … -
Began Watching A button to redirect
How to create a button that redirect to certain location in a website which is still on the same page? -
Replied To a Post in retrieve any user profile data
If you want members to successfully assist you, you have to post your code. Otherwise, it would be pure guessing and time-consuming. I can only guess that you did was … -
Replied To a Post in I Need Help to Successfully Create an Online Courseware Database
@benanamen, Thanks for stopping by and for pointing out the end of life issue. I'm aware of the discontinuation of PHP 5.5. Actually I started developing this script in 2014 … -
Replied To a Post in retrieve any user profile data
I'm assuming that you simply want to display the details of all the users of your own script. Lets assume you have a table named "users" that have "id", "userimage", …
The End.