Syntax Highlighter Plugin
Since I started blogging, I've realized just how many people are out there working on code, looking for answers. Working code out in your blog is a great way to build traffic. If you're stuck, you can count on hundreds of other people having the same problem. And there's a good chance they'll check out your blog if you have the right answers.
Right now I'm learning MySQL. My best excuse for not knowing it already: I learned programming back when fewer lines of code was more the goal, less a virtue. When Windows 3.1 wasn't cool. When I could do more with shareware libraries that spoke to my Soundblaster and VGA directly. I admired the crafty demos of groups like Future Crew. And years passed.
One day I got a call to do some Perl. I didn't know Perl yet so I pitched a Java application instead. They wanted interactive pages that you could navigate with on the fly updates. But our sysadmin found a better job, and installing Java on the server was out of the question.
That's when I decided to learn Perl, late in 1999. Annoying language, but I liked it, at the time. I knew how interactive online pages could be, from my BBS days. The major difference? Where my BBS had 300 users, the web had millions. But interactive websites needed a way to save the user's information to disk--hard to do with Java Applets. But I could do it with Perl, without a complex GUI to worry about. And from Perl, the transition to PHP was simple.
But my first impression of MySQL? This is way too much code to simply save some data to the disk. But I'm giving MySQL a second chance. Because it's everywhere. You can't avoid it. And ezSQL looks pretty cool.
To motivate myself, I figured it would be fun to post little code snippets of things I'm working on. Isn't this Syntax Hiliter Plugin cool? I grabbed some code off ONLamp.com to test it out:
// Establish a connection to the MySQL DBMS
$connection = mysql_connect("localhost", "fred", "shhh");
// Use the winestore database
mysql_select_db("winestore", $connection);
// Run a query through the connection
$result = mysql_query("SELECT cust_id, surname,
firstname FROM customer", $connection);
// Fetch each row of the results into an array $row
while ($row = mysql_fetch_array($result))
{
echo "ID:\t{$row["cust_id"]}\n";
echo "Surname\t{$row["surname"]}\n";
echo "First name:\t{$row["firstname"]}\n\n";
}
?>

I need help try to figure out how to make the interest boxes appear on my Myspace. I don't know how I did it but I made thm disappear no I don't know hot to make them appear!!! HELP PLEASE?!
im looking for a plain white default layout for my myspace. i cant seem to find one! help!
i need to make a scroll box for my top friends. Any one know how to make one? Please i need help!!!!
How do I change my skinny layout into a default without changing the background? x/ help pleeaase!
ok how do you make your layout not move in its just a page in its your all about me in your pic?
ok you know how you put your pictures on myspace,well i did in i saw this gurls pictures in they had her id: sum10 like dat in like her name in stuff it luked like dis: it had her name in everything how do you do your pics like dat
HOW DO I PUT MY INTEREST IN A SCROLL BOX??
helllooo.
there aree no scroll boxes that i can choseee :@
How do i make a default layout change to a skinny layout?
Whats the code to have your picture on one side and text on the other in your about me section?
how do i make a scroll text??where or what website can I get it from??
i want a one column layout. but i want one that doesn't hide all your general interests. anyway. lemme know if yo uhave a code or website!
much like Andrew in comment 3, I opened my myspace home page, and everything is on top of each other. "Tom" had a song listed last week, which I may have added accidentally instead of just listening to. Thats the only thing I can think of that might have changed. I just want to be able to read my messages...HELP
hey,
how do I keep the default layout but have picture background??
thanks heaps.
i need mii pic to rotate
I deleted some things (quizzes, things nonessential to the layout) from my Myspace, and now the blog section has moved down and my Myspace halves have merged. There's no middle area, no middle borders. It's driving me crazy. How do I fix it? What code could I have deleted?
how do you get ur own picture as your background layout? for a deafult layout.
ok so i went to a website and got a layout in the preview to get the code the layout was skinny so you can see the backround on the sides when i put it in my page you cant see the backround at all.. any suggestions on how to make it skinny without changing the backround ?
in some of my freinds "about me"section they have their pictures in it n next to it they have what they wrote about themselves either to the right of the picture or the left....do you know the code for that?
how do u put your top friends on your myspace page
whats the code to put your player in your myspace message
show my friends with a layout that doesnt show ur friends!!! i want people to see my top
I need to know how to put my myspace profile view back to default view. I previously used the myspace profile editor which didn't make a code to copy and paste, now I don't want the one I have, and just want the default view. Thanks.
make a layout skinny and default at the same time
hey how can i put my phtos as my background??
hi
264320650
i want my heroes in a scroll box, but i can't find any boxes.
wat up
HI!!! i really want to know how to keep the default layout but change my background to a picture that i have... well, made... lol. ;] anyway... i have a mac... so, yeah...
you might already know, but i want it so it would just appear on the sides... :]
thanks. :]
so, please. i really want the code.
THANKYOU!!! :D
hey, how can i make my mysapce skinny so i can see my mysapce. instead of scrolling. or how do i get my scroll bar to show up. no one can view half of my mysapce becuase it wont scroll.
thanks
How Can you put your friends in like a scroll box and then put text underneath the pictures to tell them who they are?
HELP!
where can i get some plain DEFAULT layouts for myspace??
i jus need to rotate my pic so i can post it up on myspace. my photo is horizontal and it needs to be vertical!!!
how do u change the name of the interests section to whatever u want? like changing the music section to one of ur friends names?
I was wondering if it were possilbe to make a code for myspace.com that allows you to have a list of background wallpapers and it would rotate between those in the list on screen.
So when someone goes to the page the backgrounds would change in a set intergal of time.
Possible?
how do u change the name of the interests section to whatever u want? like changing the music section to one of ur friends names?
can u send me code for my myspace page to be smaller.
HELP!
i need a top friend code
but i dont want to have there pics showing wat do i do??
very interesting, but I don't agree with you
Idetrorce
Hi my name is emma howard my. My space is I love 23 yr old males an the males out there who are 23 yr s old contact me
How can i make my own top with different pictures and write diffrent names?
the scroll box code wont work in my default layout
wht code do you have to put in to make you layout skinny with out changing the background???
Thnank You.x
syntax code of rotating picture
i want to keep my layout... but i want the layout to just to appear on the sides...i think its called a default layout...THANK YOU!
i need tO knOw the cOde On how tO put my herOes in a scrOll bOx for myspace plz help?!?!?!?!?!
i need a code to make my myspace skinny. so they can see more of my mysapc elayout.:] thank you.:]
someone find me a awesome myspace layout that is plain but kinda metalish.....i just want something plain and good
contact me on myspace
pimpstickceltic98