Search found 6 matches

by HankRock
Mon Mar 04, 2019 3:34 pm
Forum: Off Topic Section
Topic: SQL Query
Replies: 7
Views: 6618

Re: SQL Query

mysql_connect()
mysql_fetch_array()
mysql_query()
mysql_select_db()
These extensions were deprecated in PHP 5.5.0, and removed in PHP 7.0.0. Instead, the MySQLi or PDO_MySQL extension should be used.
by HankRock
Fri Mar 01, 2019 8:26 pm
Forum: Off Topic Section
Topic: Profile card
Replies: 0
Views: 7181

Profile card

I've been working on creating a way to do a type of profile card for each person who signs up and have come up with the following:

<?php
$servername = "test.com";
$username = "username";
$password = "password";
$dbname = "users";
$conn = mysqli_connect($servername, $username, $password, $dbname ...
by HankRock
Tue Feb 12, 2019 2:54 pm
Forum: Login Tools Questions
Topic: Avatar renaming and data retreval
Replies: 7
Views: 12124

Re: Avatar renaming and data retreval

By the way, when I use the login name object, all I get is a white square, no avatars
by HankRock
Tue Feb 12, 2019 2:50 pm
Forum: Login Tools Questions
Topic: Avatar renaming and data retreval
Replies: 7
Views: 12124

Re: Avatar renaming and data retreval

The login form? or the signup form?
by HankRock
Tue Feb 12, 2019 2:07 pm
Forum: Login Tools Questions
Topic: Avatar renaming and data retreval
Replies: 7
Views: 12124

Re: Avatar renaming and data retreval

Thanks for the reply,

1. Do I have to change the form to HTML to edit it or is it in a php code somewhere? Also, I'd love to just have it rename the file with the fullname from the registration form!

2. how do I display all the avatars, not just the currently logged in persons. I would like to ...
by HankRock
Mon Feb 11, 2019 8:56 pm
Forum: Login Tools Questions
Topic: Avatar renaming and data retreval
Replies: 7
Views: 12124

Avatar renaming and data retreval

This is really two separate issue that are linked in a way:

First, is there a reason / way to control how the avatars are renamed once uploaded? I am using the mysql database and it adds a random number string to the photo.

Second, I am trying to create a page that shows the fullname and avatar ...