Bài đăng

How to create a basic website with PHP and HTML

Here are simplified steps to create a basic website using PHP and HTML: Set Up a Development Environment: Install a local server like XAMPP or MAMP. Create a project folder in the server's "htdocs" directory. Create HTML File: Create an index.html file in your project folder. Write basic HTML structure, like <!DOCTYPE html> and <html> tags. Add Content: Inside the <body> tag, add your website content using HTML elements like <header> , <nav> , <section> , <footer> , etc. Create PHP File: Create a new file, e.g., index.php , in the same project folder. Write PHP code using <?php and ?> tags. You can mix HTML and PHP in the same file. Connect HTML and PHP: Use PHP to dynamically generate content or embed PHP within HTML as needed. For example, <?php echo "Hello, World!"; ?> will display "Hello, World!" on the webpage. Run Your Website: Start your local server. Open a web browser and navigate to...

Bold text in HTML

<b>This text is bold</b> In a web browser this displays simply as:   This text is bold

Create a hyperlink in HTML

To create a hyperlink that the user can click to navigate to another document, you use the <a>  tag (which stands for anchor), like this:   <a href=′http://google.com′>Visit Google</a> In a web browser this displays simply as:  Visit Google

Web Code Chinese Chess game using ajax (jsp)

Hình ảnh
Webgame Chinese Chess using ajax (jsp)

Android 3.0 Animations, free ebook

Hình ảnh
Chapter 1: Animation Techniques on Android  An animat ed applicaton: counting calculat or  Time for action – learning t o count with the countng calculat or 

Advanced Androd Games, ebook download

Welcome to Advanced Android 4 Games. This book will help you create great games for the Android platform. There are plenty of books out there that tackle this subject, but only this book gives you a unique perspective by showing you howeasy it is to bring native PC games to the platform with minimum effort. This is done using real-world examples and source code in each chapter. Keep in mind that before you dig intothis book, you will need a solid foundation in Java and ANSI C. I have tried to clearly and simply explain the most complicated concepts with a combination of graphics and sample code. The source code provided for each chapter will help you understand the concepts in detail and make the most of your time as a mobile game developer.

What Hardware/Software Will You Need for Android Games

A Windows or Linux PC with a Java SDK Properly Installed  I guess this is kind of obvious, as most development for Android is done in Java. Note that I mentioned a Java SDK, not JRE. The SDK is required because of the JNI header files and command line tools used throughout the latter chapters.

How to create the flame effect with HTML5 Canvas and JavaScript

Hình ảnh
Instructions on how to create the flame effect with HTML5 Canvas and JavaScript

How to start a android project

Hình ảnh
Build the develop environment The ADT (Android Developer Tools) Bundle includes:

Applet require some optional packages

Question: How can my applet require some optional packages (specific vendor and versions)? (Java)

What are restrictions for an applet

Java Tips Question: What are restrictions for an applet? What are applets prevented from doing? Answer: In general, applets loaded over the net are prevented from reading and writing files on the client file system, and from making network connections except to the originating host. In addition, applets loaded over the net are prevented from starting other programs on the client. Applets loaded over the net are also not allowed to load libraries, or to define native method calls. If an applet could define native method calls, which would give the applet direct access to the underlying computer.

How many kinds of enterprise beans do Java has

Java (J2EE) has three kinds of Java beans: 1. Session beans -represent transient conversations with clients. The data will be gone after a session is over 2. Entity beans -represent persistent data and let to store data in a database. 3. Message driven beans - combining features of a session bean and Java Message Service (JMS). They provide possibility to receive asynchronous JMS messages

Variables in PHP are quite different from C and Java

Variables in PHP are quite different from compiled languages such as C and Java. This is because their weakly typed nature, which in short means you don’t need to declare variables before using them, you don’t need to declare their type and, as a result, a variable can change the type of its value as much as you want.

PHP is how it is embedded in HTML

The first thing you need to learn about PHP is how it is embedded in HTML:

Working with Passwords in PHP

Another appliance of hash functions is authenticating a password entered in a form on your web site with a password stored in your database.

Cookies PHP when Log out

Cookies PHP

PHP session login code

A PHP session allows an application to store information for the current “session,” which can be defined as one user being logged in to your application. A session is identified by a unique session ID.

Insert link in comment of Blogger

Under post of Blog use Blogger (Blogspot), you can type link Code: <a href="http://yourlink.com/">Name</a>