![]() |
HTML / CSS / PHP / SQL - Printable Version +- Limelight Forums (https://limelightgaming.net/forums) +-- Forum: Entertainment (https://limelightgaming.net/forums/forum-197.html) +--- Forum: Hobbies (https://limelightgaming.net/forums/forum-207.html) +--- Thread: HTML / CSS / PHP / SQL (/thread-8752.html) |
RE: HTML / CSS / PHP / SQL - Voluptious - Mar 9, 2016 Ah, no it doesnt do that. You can install Emmet though. div*5>p{$} = 5 divs with a p tag with the current numbet in it. RE: HTML / CSS / PHP / SQL - Zyth - Mar 9, 2016 (Mar 8, 2016, 09:47 AM)WildDorito Wrote: PHP (the worst language in my life) </3 I do too much php :3 gud with sql and html5 and css RE: HTML / CSS / PHP / SQL - Zyth - Mar 9, 2016 (Mar 8, 2016, 01:30 PM)Cameron Wrote:(Mar 8, 2016, 09:47 AM)WildDorito Wrote: PHP (the worst language in my life) Im with u, WildDorito = pure evil xD RE: HTML / CSS / PHP / SQL - Zyth - Mar 9, 2016 Firstly, whenever making a site try to make it responsive so use % instead of px where you can. Secondly Sublime Text FTW: Just a snapshot of a project I'm working on HTML: ![]() PHP: ![]() RE: HTML / CSS / PHP / SQL - Noble - Mar 9, 2016 I've never had any luck using Dreamweaver, I just usually use plain old Notepad (that's how the entire LL homepage was made) RE: HTML / CSS / PHP / SQL - Voluptious - Mar 9, 2016 @Noble,I still dont understand how you live... RE: HTML / CSS / PHP / SQL - WildDorito - Mar 9, 2016 My brilliant PHP skills: RE: HTML / CSS / PHP / SQL - Zyth - Mar 9, 2016 (Mar 9, 2016, 11:46 PM)WildDorito Wrote: My brilliant PHP skills: Wheres the PDO </3 u just keep making me cri even more just stabbit :C EDIT: On a serious note 1. Dont use stock mysql its so vulnerable and 2. That statement is vulnerable to SQL Injection rip specifically here: PHP Code: SELECT * FROM developers WHERE name = '$name' and software = '$software' if you used pdo you could do: PHP Code: $sql = $conn->prepare("SELECT * FROM developers WHERE name=:name and software=:software"); Eh read up on PDO also $conn needs to be changed to whatever this is: $conn = new PDO("mysql:host=" . $servername . ";dbname=". $dbname, $username, $password); This should work, made it now, read up on PDO (Stands for PHP Data Objects if I remember correctly) its really good ![]() NEVER USE MySQL alone, use either MySQLi or PDO!!!! RE: HTML / CSS / PHP / SQL - Zyth - Mar 10, 2016 Also never used dreamweaver, I might take a look if I get time but been super super busy lately trying to push out a beta version of a massive script I been working on in PHP and got too many tests :C fucking school bombarding us with tests. grrrrrr RE: HTML / CSS / PHP / SQL - goigle - Mar 10, 2016 i know someone who writes code in microsoft word RE: HTML / CSS / PHP / SQL - Zyth - Mar 10, 2016 (Mar 10, 2016, 12:19 AM)goigle Wrote: i know someone who writes code in microsoft word yeye dont we all RE: HTML / CSS / PHP / SQL - Burnett - Mar 10, 2016 Is mixed HTML/PHP still a thing these days? Come on guys. Get a proper template engine and go for it. Bind tpl-vars inside your php-file and let the engine render it for ya. Your code will look more organized and structured. This way Webdesigners don't have to mess with your PHP-Code in a template. Can even have it cached serverside etc. I recommend Smarty and Twig for PHP. Good engine for Node is jade. RE: HTML / CSS / PHP / SQL - WildDorito - Mar 10, 2016 (Mar 9, 2016, 11:56 PM)A Simple Waffle Wrote: Wheres the PDO </3 I have tried to use MySQLi with limited success. I'll try PDO when I get home, school has blocked FTP connections ![]() RE: HTML / CSS / PHP / SQL - Razz - Mar 10, 2016 [html] im a hacker [/html] RE: HTML / CSS / PHP / SQL - Blurr - Mar 10, 2016 I am amazed that you used original notepad to make Limelights page....... My mind = blown |