-
Posts
354 -
Joined
-
Last visited
-
Days Won
1
Everything posted by Irate
-
Error using font for title Forum, sub forum and topic title.
Irate replied to mostone's topic in Javascript Help
The OP was able to figure it out on another support forum. -
What would the k2 parameter do and do you know where in your database it is saved?
-
lol Eh... try using variable assignments within the if clause and then refer to the variable with the case statement? Also, don't you use case statements only in switch statements? O_O
-
That did the job, wonder why I didn't come to think of it yet...
-
Error using font for title Forum, sub forum and topic title.
Irate replied to mostone's topic in Javascript Help
You would laugh, it works on my mobile browser (Opera-based) but not on my Windows PC. Best option would be to exploit the background-image feature of CSS for this... -
I just talked to my IT Teacher at school, he said that I could download such data freely and then play it on a CD. Thank you for the suggestion, I'll reply once I have more information on this matter.
-
I uninstalled XAMPP and it prompted me to try deleting the folder, but couldn't. I shut down my PC and rebooted it already, didn't work :l Would I be able to achieve the same with a VM?
-
Hahah, thank you for the suggestion, but I'm staying with Windows at the moment, I just bought this PC a year ago, whenever I get a new PC, I'll get myself Linux. So... any other suggestions? :/
-
Still occuring, tried looking up all processes with sql in it, ended them, couldn't delete mysqld.exe. Anyone know how to force a delete if the process is still running?
-
If I may recommend you some German books on this topic, I would like to mention 'PHP 5.4 & MySQL 5.5 - Das umfassende Handbuch' by Stefan Reimers and Gunnar Thies (excellent literature for every German-speaking newcomer to PHP which includes high quality code examples), 'PHP 5.3 & MySQL 5.4 - Programmierung, Administration, Praxisprojekte' by Michael Kofler and Bernd Öggl, 'PHP programmieren unter Windows' by Arno Hollosi for all those who want to use IIS and MSSQL, and, last but not least, a book on JavaScript... 'JavaScript: The Definitive Guide' by David Flanagan. All of those helped me a lot when I started to learn programming (and still am).
-
Yeah, topic title. I've been using XAMPP, messed up my configuration details big time and couldn't reverse it, decided to uninstall it and then re-install it, but I can't delete that single file because it is perpetually executing even though I never opened it. All other files were deleted without problems... Any way to end the process (I can't find it in my taskmgr) prematurely or any way to delete the file? Thanks in advance...
-
Because you want to have data['username'] within the current object as there might exist other identically named arrays in other objects or in a global/local scope, imagine, username data can be used within many scripts.
-
Welcome, hope you get the answers you need here
-
The -> operator is only available for objects and refers to modules, methods or variables of an object, $this is the currently used object, so $this->data['username'] selects the array key 'username' from the array data which is defined in the current object. The & operator can be used either as unary operator where it is used for bit shifting or as so-called reference passer, means &$this is the reference to $this, all modifications to $data will affect $this, too.
-
Notepad++, of course (though the normal Notepad is 'retro' enough and 'hipster').
-
Update: as I expected, I cannot boot Apache while Skype is online (means that this should have been in another section, but, oh well). Solved and marked as such.
-
You are sure that you are using your code in a working surrounding and that the jquery-1.9.1.js file actually exists?
-
Default Notepad and Notepad++, basically. Notepad for .txt, .cnf, .ini and other Windows-based code, Notepad++ for basically anything else, HTML, CSS (though I like writin CSS with the normal Notepad, too), JavaScript, PHP, SQL (besides from pMA, of course).
-
Right, he asked for a popup, not for a new window. Ahah. Try this, then. <!DOCTYPE html> <html> <head> <script type="text/javascript"> function popup(url) { new_popup = window.open(url, "Popup Window", "width=400,height=300,resizable=yes"); new_popup.focus(); return false; }</script> </head> <body> <a target="_blank" onclick="return popup('http://example.com');">Open new Popup.</a> </body> </html>
-
Create a popup with JavaScript. Like this... <button onclick="window.open('http://example.com');">Click here to open a new window.</button>
-
Strange, ftp_connect() is a function since PHP 4 :/ What PHP version is your server using?
-
ftp.php is the form action you specified, means that all code checking will be performed there. Create a new file named ftp.php in the same directory as the file you used, and add the php code from the document above into it. If you cannot do so, change the <form action="ftp.php"> to <form action="">
-
If you're using mysqli, use the mysqli class... $mysqli = new mysqli(string $host, string $user, string $password [, string $database]);You can then call all relevant functions as methods of $mysqli, like $mysqli->query("SELECT * FROM table"); Just a suggestion.
-
Wamp xampp or IIS , which one?
Irate replied to alfredo's topic in PHP Installation and Configuration
I have IIS as testing localhost with MSSQL installed, it does the job just fine, but I guess WAMP is better due to easy maintainability and setup.