When you're about to include a MySQL database in a project you're working on, you're going to want to plan ahead and figure out what kind of layout this database should use. After all, you can't use a database without first creating it!
You could start by creating this database's structure using PHP code, but it would be incredibly hard to get everything right the first time! My recommendation is to do what I always do: start out by using Adminer or PHPMyAdmin to view the database and structure it manually. Adminer and PHPMyAdmin are two of the most common PHP scripts that you can use to access your database without needing to write code. One or both of them are usually included somewhere in your CPanel - if you're using a CMS like WordPress, you should be able to find a plugin for one of them or something.
*** View this blog with HTTP instead of HTTPS to see the code formatted nicely. ***
Showing posts with label create. Show all posts
Showing posts with label create. Show all posts
Tuesday, May 22, 2012
Friday, March 30, 2012
Using the PhotoSwipe Image Gallery Script
This tutorial is in response to a specific request by someone who wanted to know how to implement the PhotoSwipe Image Gallery script into a mobile JQuery website. Here's a link to PhotoSwipe for some context and a download link of the script for yourself:
http://www.photoswipe.com/
Here is a link to what our final product will be - you should test it out:
http://thecodingwebsite.com/tutorials/photoswipe/photoswipe.html
I basically just used their code examples and example images and removed all of the unnecessary code and such to determine the essential parts needed for a mobile JQuery website implementation. If you would like to just download my working example as a whole, I have placed it into a zip file for you:
http://thecodingwebsite.com/tutorials/photoswipe.zip
http://www.photoswipe.com/
Here is a link to what our final product will be - you should test it out:
http://thecodingwebsite.com/tutorials/photoswipe/photoswipe.html
I basically just used their code examples and example images and removed all of the unnecessary code and such to determine the essential parts needed for a mobile JQuery website implementation. If you would like to just download my working example as a whole, I have placed it into a zip file for you:
http://thecodingwebsite.com/tutorials/photoswipe.zip
Thursday, March 22, 2012
Adding a subdomain to your website
Subdomains allow you to denotate to your website visitors that they are viewing a particular section of your website. An example of a subdomain would be mail.google.com. "mail" is a subdomain of "google.com", with a period in between. Generally, subdomains will have a folder on the same server as the main website for all of the subdomain's files.
This tutorial will show how to add a subdomain to your website if it uses CPanel or something similar. CPanel is a very common and popular control panel for websites, and this tutorial will be using screenshots I've taken (myself) from the (interactive) demo on CPanel's website:
This tutorial will show how to add a subdomain to your website if it uses CPanel or something similar. CPanel is a very common and popular control panel for websites, and this tutorial will be using screenshots I've taken (myself) from the (interactive) demo on CPanel's website:
Subscribe to:
Posts (Atom)