The Simplest Way to Retrieving Query Result
require_once(’mysqli_connect.php’);
$q = “SELECT id AS id, title AS title, duration AS duration FROM movies”;
$r = @mysqli_query($dbc, $q);
if($r){
echo ‘
| ID | Title | Duration |
| ‘ . $row['id']. ‘ | ‘ . $row['title'] . ‘ | ‘ . $row['duration'] . ‘ |
‘;
mysqli_free_result ($r);
Powerdot
Powerdot is based on Latex for presentation usage.
Download files from http://www.ctan.org/tex-archive/macros/latex/contrib/powerdot/
Copy /run/* on linux (vine) into /usr/share/texmf/tex/latex/powerdot
Updating platex installer
>mktexlsr
dvi to pdf
>dvip powerdot-example1.dvi
>dvips powerdot-example1.dvi
>powerdot-example1.ps
>ps2pdf powerdot-example1.ps
>acroread powerdot-example1.pdf
Lyrics for iphone n itouch
Hey, i have some million dollar idea on making application for the iphone and the itouch. It is “get me thr lyrics” which as you may understood as it is.
Well, have you ever wanted to see the lyric when you’re listening to iphone’s ipod. Yes i have, maybe some of you too.
I don’t know much about the native development on iphone’s objective-c. I also don’t know if there is possibility to integrate the ipod with other app. As far i know there is none.
As for the alternative, we need to input the songs by hand. Find by searching or from genre.
Song = {a-z|0-9}
Here you go, the database of lyrics which retrieve from the internet.
This app maybe will goes good as a web app. So, the challeng is to make a site that is ellegant enough.
So till next time for more techies ideas from me.
iPhone life
This post is actually writen with iphone by using wordpress application.
Because this is the first time im using it so i wont write it long.
So expecting me to mispell some words : )
Sent from my iPhone
Recent Works
I am sorry for not updating this blog for a while. This because i was burden with a lot of works. See some of my works here:
And i sometime post Malay blog here:
which i registered about 4 years ago
. And i want to continue writing it.
The Next Gen Game Console
Firstly, happy fasting to my muslim friends, this is my first time of fasting outside of Malaysia.
What is the next generation of game console? I believe you understand what it means. That would be the PS4, XBOX 720 and Wii 2. I won’t talk about the game content but the technology of bringing game content to your home.
PS3 users are lucky because they have the state-of-the-art bluray attached to it so that they can enjoy the high-definition contents on bluray discs. Especially movies and games. The bluray dics can hold about 50 gigabyte (2-layer disc) of information within 12cm plate. It means high of data quality from audio, graphics, poligon, etc can be interpolated on a bluray disc.
But do we really need that?
Xbox360 quite a time ago used HD-DVD technology as the external driver. But since the HD-DVD production was suspended they went solo without changing into bluray or whatever. Why so? Actually i also don’t know.
Does it mean for the next Xbox 720 will support bluray? According to Microsoft bluray isn’t the future, but the bluray’s content is. What does it mean? They actually focus on IP to provide the contents to your living room via thier on developed console.
IP nowadays talk, it’s all about the optical fibers. Yeah, another kind of light manipulation.
How about Wii 2. I haven’t heard about that yet. But latestly i heard is the new version of PSP will be on the market. LCD improvement, and built-in with microphone. I’ve friend working at Sony. He said that the development of that kind of new PSP was a year ago. So for sure there will be a lot of innovation in future.
In the nut shell, in years to come IP will be will go faster and capable to bring bluray contents as Microsoft have said. Anyway i ain’t the core gamer just watching what will come in the future, and looking what should i study for. Till then.
Junken on its alpha testing
I’ve already finished the Junken Flash game for Wii and uploaded it on Wiicade.com. But its not what i expected when play it on the Wii consol. It should be something like this like on PC.
But, it became this…
Only the background is appeared. It may because of i exported it into Flash Player 9, where Wii opera browser only support Flash Player 7. But as i changed it into FP7, there is nothing changed. So i still in searching the reason hahaha. Wait lah.
Summer Holiday
I didn’t find much baito for his summer holiday. So i can spend more time for studying Flash and web site designing.
Recently i doing my research on making simple Flash game. It is named ‘junken’ or ‘oh som’ in Malay. So far i’ve done half of the process which is the main algorithm of the game. Just want to add some kick-ass features such BGM and wii-game-like graphics (or not so lah
). Hang in there, i will upload on ProgLib site as i complete it.
In the same time, aloso a simple thing, i’ve made a very simple web page for keitai (handphone) for viewing prayer time. It is very useful if you are in travel somewhere in Japan. Without any hassle of bringing your light laptop anyway, just use your keitai.
As usual, for keitai site there should be a QR code for easy access. May God bless you all for take care of perfoming solah.
oo!
Oo oups! The next paper is on this Monday, but i can find time to watch podcast. Maji yabei!
I watched a numbers of great podcasts of learning Japanese. Access it from iTunes and
download the poadcasts. http://www.japanesepod101.com/











