|
-
July 1st, 2002, 03:32 AM
#1
Site Suggestion
I'm not sure if there is a site suggestion forum. But I thought this might be a proper place.
Is there any syntax high lighting for code we post up? I know some message board systems do have it so when posting up programming code it doesn't look like a train wreck. If not maybe it might be a cool add on to the site. Just somthing I thought I might bring to attention. Oh yeah before I go get drunk.Could the avatar size go up. 64 X 64 pixels is soooo small. I was having such a hard time with making it the right size. Welp Cheers
-
July 1st, 2002, 03:40 AM
#2
-
July 1st, 2002, 04:01 AM
#3
Code:
//Duh.
#include <iostream.h>
void main()
{
cout<<"My Bad"<<endl;
cout<<"But where is the color?"<<endl;
cout<<"Quote Homer Simpson Doh!"<<endl;
cout<<endl;
}
Thanks xmadness for showin a newbie.
-
July 9th, 2002, 09:13 PM
#4
AntiOnline does currently not support syntax highlighting.
-
July 9th, 2002, 09:17 PM
#5
Actually, it does, but just for php code ...
PHP Code:
<?php
/* Connecting, selecting database */
$link = mysql_connect("mysql_host", "mysql_user", "mysql_password")
or die("Could not connect");
print "Connected successfully";
mysql_select_db("my_database") or die("Could not select database");
/* Performing SQL query */
$query = "SELECT * FROM my_table";
$result = mysql_query($query) or die("Query failed");
/* Printing results in HTML */
print "<table>\n";
while ($line = mysql_fetch_array($result, MYSQL_ASSOC)) {
print "\t<tr>\n";
foreach ($line as $col_value) {
print "\t\t<td>$col_value</td>\n";
}
print "\t</tr>\n";
}
print "</table>\n";
/* Free resultset */
mysql_free_result($result);
/* Closing connection */
mysql_close($link);
?>
(and as an extra bonus, it'll make you go blind ;) )
I wish to express my gratitude to the people of Italy. Thank you for inventing pizza.
-
July 9th, 2002, 09:26 PM
#6
I came in to the world with nothing. I still have most of it.
-
August 14th, 2002, 11:46 PM
#7
Member
July: Here are theSite Suggestions
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|