- Strength to Increase Rep
- +7
- Strength to Decrease Rep
- -1
- Upvotes Received
- 37
- Posts with Upvotes
- 30
- Upvoting Members
- 20
- Downvotes Received
- 15
- Posts with Downvotes
- 11
- Downvoting Members
- 11
My name is Samuel, I am a website developer and Linux systems administrator from the United Kingdom.
- Interests
- Website Development, Systems Administration
- PC Specs
- Macbook Air, 4GB RAM, 128GB SSD, 1.3GHz Intel i5 Processor
Re: It's $con first. So where you have $sql, $con etc, change it to $con, $sql | |
Re: I would've thought Java since just about every OS out there can get Java. | |
Re: Have you rebooted? Do you backup via time machine? Have you tried force quitting "Dock" and "Finder" through terminal (`$ killall -9 Finder && killall -9 Dock`)? | |
| |
Re: Well, let's think of this in a literal manner. Let's say you have an active directory controller setup on your network (this is _very_ common in offices)... that would use quite a bit of bandwidth INTERNALLY for your router to manage. This could affect your outbound connections because your router … | |
| Re: I prefer Mavericks and sadly can't go back. :( |
Re: Did you check to see if `<input type="xxx" name="SOMEKEY">` matches up with `$_POST['SOMEKEY']`? | |
Re: Well, you're clearly a noob to this, so I recommend [Ubuntu](http://ubuntu.com/). | |
Re: Markdown is usually a great option. Here's an example of how it could look on the frontend: [Frontend](http://dillinger.io/) | |
Re: Honestly, if you want it to be clean; add something like this: <!-- HTML --> <div class="wpb_wrapper"> <span id="login-text">Log In</span> <div class="login" id="theme-my-login1"> ... </div> </div> // JS $("#login-text").text("Something..."); // or $("#login-text").html("Something..."); // vanilla JS would be this // document.getElementById("login-text").innerHTML = "Something..."; This is just cleaner IMO, but whatever floats … | |
Re: <getting this removed, didn't realise you had the answer already> | |
Re: What @diafol said. Just note that we're here to help if you need support with jQuery/AJAX stuff. | |
Re: I sure hope to God that the code you pasted above isn't actually like that in your editor or even on your hard drive. Please tell me that you actually indent. | |
Re: It seems like @broj1 has got what you need, though I am not 100% sure on what it is you need done (I'm tired). If it's not what you want just reply and more examples and help will come. | |
| Re: If you're not using a framework, then you should know exactly what `Registry` is. Search through your files for `class Registry`, this should help you find out what exactly `Registry` is. If you're using PHPStorm, you can option/alt+click on `Registry` to get straight into the code for the class. |
Re: @cereal — those are disabled in a lot of browsers for some reason. It's weird. | |
Hello. As you may know already, if you've visited the PHP section, certain users ask certain questions over and over; repeating themselves and not learning a single thing. I'd love it if DaniWeb could start silencing these users if they ask the same question more than once and don't listen. … | |
Re: If you're still learning PHP, look into [PDO](http://php.net/pdo). Here is the code, rewritten with PDO. <?php error_reporting(E_ALL); # DISABLE THIS WHEN IN PRODUCTION FOR THE LOVE OF GOD ini_set('display_errors', '1'); # DISABLE THIS WHEN IN PRODUCTION FOR THE LOVE OF GOD $db = new PDO('mysql:host=localhost;port=3306;dbname=roblox', 'user', 'pass'); $sql = "SELECT … | |
Re: The code is quite messy though I'd be interesting in seeing more. Could you share your database structure so we can see datatypes etc? | |
Re: I'm not going to help here (a crap load to read, keep reading), but for anyone that does want to help; here is the `./app/Mage.php` file: [clicky](http://freegento.com/doc/d8/de8/_mage_8php-source.html). | |
Re: Just a tip, you might want to lookup how to properly name variables. :P `$thevalue` would confuse a crapload of developers for a moment or two if they looked at your code. I'd try something like `$customer`. | |
Re: Honestly, it's pretty pointless. I'd say that it's best to just ban those that swear if it means that much. I personally don't filter any profanity on any of my websites because I believe in a free internet. I silence those that swear to offend. | |
Re: Try asking here: https://www.daniweb.com/web-development/web-design-html-and-css/15 This is the PHP section; as in, the backend. You're talking about frontend stuff — which belongs in the other section. | |
Re: You might want to start posting messages with proper English (even if it's not your first language). Saying "pls" and "tanx" does not usually suffice for many places. | |
Re: Well, you could probably learn Laravel from [Laracasts](https://6t9.me/laracasts) and then build upon it to get a full CMS running. |