0 Users appreciate this thread.
Common errors when programming...
(Capt.)Orb (2012-10-06 17:04:44)Thanks.
Aviation fact: The a380 is the largest commerical aircraft in service!
Go to Splashiverse! Splashiverse
Go to Splashiverse! Splashiverse
NINTENDO64 (2012-10-07 16:53:38)Helpful!
"If today were the last day of my life, would I want to do what I am about to do today?"
-Steve Jobs
DBS
-Steve Jobs
DBS
(Capt.)Orb (2012-10-08 19:25:00)Aviation fact: The a380 is the largest commerical aircraft in service!
Go to Splashiverse! Splashiverse
Go to Splashiverse! Splashiverse
Log in to submit a comment
Back to forum: Web Programming (HTML, JS, CSS, PHP, MySQL)
New registered users today: 7
Newest registered user: ElegantVulpes
Okay so here is some common errors people have with programming.
This topic is to prevent people getting these errors.
Blah means so on.
<html> <head> <title>titlehere</title> </head> <body> Welcome to blah. <br/> This is our chat <table bgcolor="blah"> <style>div.messages color:red</style> <div id='messages'>
Now... the table is displaying in the wrong place so we add
<td>
That should fix that glitch add it after <table bgcolor="blah">.
Now....
A bit of php
<?php echo hey
That will result in an error so try
<?php echo hey;?>
Now... sql insert is risky so always add sql injection protection when inserting something to DB.
Now when using "" for something,like str,replace use <span color=blah> if you need to do something like a warning inside!
More coming soon!
2012-10-06 07:23:33
Go to Splashiverse! Splashiverse