|
Post by Admin on Apr 23, 2014 15:58:32 GMT
|
|
|
Post by toufik on Sept 21, 2014 10:23:51 GMT
hey Michiel plz answer my question !! when u create coffee.php and then u used if (isset($_POST['$types'])) !!! from where this information(i mean $_POST($types)) come in coffee.php ??
|
|
|
Post by Ali Fardil on Oct 24, 2014 7:09:41 GMT
hello sir i,m have getting an error could you plz help me out.. Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in C:\wamp\www\HospitalWebsite\Model\doctorModel.php on line 31
|
|
|
Post by Admin on Oct 24, 2014 17:06:47 GMT
hello sir i,m have getting an error could you plz help me out.. Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in C:\wamp\www\HospitalWebsite\Model\doctorModel.php on line 31 Hi Ali, The entire mysql PHP extension, which provides all functions named with the prefix mysql_, is officially deprecated as of PHP v5.5.0 and will be removed in the future. As the error message suggests, there are two other MySQL extensions that you can consider: MySQLi and PDO_MySQL, either of which can be used instead. So instead of: mysql_connect($host, $user, $passwd) or die(mysql_error()); mysql_select_db($database);
Try using: $mysqli = new mysqli($host, $user, $passwd, $database); Here's an example of mysql (No longer supported)$mysql = mysql_connect("example.com", "user", "password"); mysql_select_db("test"); $res = mysql_query("SELECT 'the mysql extension for new developments.' AS _msg FROM DUAL", $mysql); $row = mysql_fetch_assoc($res); echo $row['_msg']; And here's an example of the new msqli functionality: $mysqli = mysqli_connect("example.com", "user", "password", "database"); $res = mysqli_query($mysqli, "SELECT 'Please, do not use ' AS _msg FROM DUAL"); $row = mysqli_fetch_assoc($res); echo $row['_msg'];
Hope that helps!
|
|
|
Post by nayab on Jul 10, 2015 5:22:15 GMT
hey any other way to connect with u
|
|
bouba
New Member
Posts: 2
|
Post by bouba on Feb 16, 2017 8:46:59 GMT
Hi I need your help ! I am a student but I have a job that I was very tired.I love your courses but this duty I do not know how to do it.Help on please!
.................................................................................................................................................................
When you first log in to your Personal account, the patient must undergo the registration process. The registration window should contain the following input fields: • Login (ID of patient); • Name; • Date of birth; • Mobile phone number; • Password(password must be at least 6 characters that must be specified during authorization); • Repeat password (the characters typed in the field "Password" and "Repeat password" must match). After filling the fields the user clicks on the Confirm button. Then on the mobile number specified during registration, an SMS code, which you need to enter in the registration window. If you enter a wrong code, you should see the error message informing you of infidelity imposed by the code.If you enter a correct code, a message indicating a successful user registration. The Window "Login" During subsequent logons to the Personal account, the patient is authorized. The login window should contain the following input fields: • Login (ID of patient); • Password (character set, specified at registration). After filling in the fields for mobile number, an SMS with a code that you need to enter in the login window. If you enter a wrong code you should see a window with error about infidelity imposed by the code. Menu of a private office Menu of the Personal Cabinet consists of the points: • Services; • To print; • Settings. The Window "Services" If you select "Services" must be displayed a table with the list of services with titles: • No.; • Name of service; • Date of service; • Time services; • Name of the doctor. Should be able to sort by date (new to old). The "Settings"Window The user must have the ability to change your current password. To change the password, the user must fill the fields: • The current password; • The new password (minimum length 6 characters); • Repeat the new password (minimum length 6 characters). Characters entered in the field "New password" and "Repeat new password" must match. If typed characters do not match, you should receive an error message indicating the mismatch of characters in the fields.
Then, the user clicks the Save button, which opens a window confirm via SMS code. The user enters the code received on the mobile phone via SMS. If you enter a wrong code, you may receive an error message informing you of infidelity imposed by the code. If you enter a correct code, a message about successful password change.
Job 1. The development of a modern, comfortable and friendly interface for Personal account (colors, design panels and buttons, the size and style of fonts should be the same for all Windows); 2. The development of the interface Windows of "Authorization"; 3. Interface design window "Registration"; 4. The development of the interface window "Options"; 5. Interface design of Windows "Services"; 6. The development of the interface menu of the Personal Cabinet. The result of the assignment, you must provide a working web page with the implementation of the specified functionality. The website address will need to send in the mail.
|
|
bouba
New Member
Posts: 2
|
Post by bouba on Feb 16, 2017 8:47:56 GMT
asp.net c#
|
|
|
Post by Nootaku on Mar 21, 2017 22:41:10 GMT
Hey, Your tutorial is great (a bit outdated due to the msql / mysqli problem, but I figured it out. However I have a problem with the GetCoffeeByType (I think).
My Dropdown is correctly formed, and my CoffeeTables are appearing. However, I cannot select a Type --> When I hit submit, the value goes back to "All" (instead of "Expresso" for example) and I get all the rows of my db as an output again.
I didn't see where it comes from. Any idea?
|
|
|
Post by Tushar Kashyap on Apr 3, 2017 1:31:04 GMT
Hello,
I am trying to create one Download button which upon clicking will download PDF file.
Some how i am not able to understand how to all my php function.
As taught by you, i have put all my code in $content and i am able to see the download button, but i am stuck how to download my file.
PS: I am new to PHP so excuse me for juvenile question.
|
|
|
Post by SIMPLE on Nov 25, 2017 16:14:02 GMT
Great lessons, but any updates to the codes?
|
|
|
Post by Natasha on Sept 9, 2018 9:53:33 GMT
Hey!My Coffee page is completely blank. When I click the link, nothing shows up at all and I'm not sure what to do about this.
Any help you can provide would be appreciated.
|
|
|
Post by MaxPowerKeype on Jan 4, 2019 2:28:23 GMT
Download not working dll from <a href=http://founddll.com/msvcp120-dll/>Not Found msvcp120.dll</a> page. Fix your error now!
|
|
Satrio Budiharjo Yauri
Guest
|
Post by Satrio Budiharjo Yauri on Apr 16, 2019 1:33:14 GMT
is there and update for the code?,becouse its just dont working at mysql_connect
|
|
|
Post by Stefano on Dec 1, 2019 18:46:29 GMT
Hi everybody
I have just watch the video, download the code and made the change needed to make it work with the new php. Now it work perfect, is there a way to add other filter to other table of the db? Just to care the type AND the ROAST for exemple? I have made some try bit I eas not able to make it work.
Thanks a lot
|
|
|
Post by Russ on Jan 24, 2021 17:53:57 GMT
|
|