609 Posted Topics
Re: That is the actual local path on the server, so it should most likely be define('JPATH_BASE', dirname(realpath(__FILE__)). '\\about' ); | |
Re: Missing closing `)` else if (isset($_POST['submit']) && empty($_POST['username']) or empty($_POST['password']){ | |
Re: I saw `font-family:"Comic Sans MS"` and I got sad... What exactly is it that is supposed to happen when you hover the image? You don't have any CSS for a hover state on the image. | |
Re: I don't understand the question. Also your submit button is busted. It should be like: <form acion="result.php" method="post"> <input type="text" name="link" /> <input type="submit" name="submit" value="submit" /> </form> | |
Re: Why does this feel like some sneaky attempt by Xantipius to trick us into giving up our first names? :-P lol just kidding... I used to hate my name "Oliver", but now I am fine with it. It's a pretty rare name in America so it helps make me a … | |
Re: > Why there has no gap/space between h4.footer-header? There is no space because it is selecting the h4 with the class .footer-header applied to it. If there was a space in here, it would be looking for .footer-header with a parent of h4 > But why there has a gap/space … | |
Re: You could have just updated your original post with this. Dreamweaver is about as close as you are going to get to having code you wrote yourself. I don't know anything about simplesite, and Wordpress is a blog/cms, not a website editor. If you are trying to build a website … | |
Re: They're pretty strict on becoming an author and what you can sell on any Envato site. Anything you sell needs to be an original piece of work by yourself. You can be inspired by what someone else might have done but your code needs to be original. If it isn't … | |
Re: Like LastMitch pointed out, we have no idea what this data is in this table or how it is being used with whatever application is using it, so we really can't tell you exactly what the query is going to do beyond the obvious stuff. In short though, it appears … | |
Re: Deactivate UAC? http://www.mydigitallife.info/how-to-disable-and-turn-off-uac-in-windows-7/ | |
Re: You've basically given up half the puzzle pieces and asked us to solve it. The markup would be needed to really give you an exact answer on the problem. Do you have this online somewhere we can see? | |
Re: You'll have a hard time finding someone here to write the code for you. There are many tutorials out there that cover this. Example: http://blog.nerdstogeeks.com/2009/09/handling-images-using-php-mysql-in-3.html http://techstream.org/Web-Development/PHP/Multiple-File-Upload-with-PHP-and-MySQL Follow a tutorial online and get started somewhere. If you run into problems you can ask your questions along with your code here. | |
Re: Use the PHP function exec() http://php.net/manual/en/function.exec.php | |
Re: This will probably give you the answer here http://www.daniweb.com/web-development/php/threads/124500/session-time-out-in-php The best place to put this would be in the header on every page so you can check the timeout every time they switch to another page. | |
Re: Uhhhh, what? I'm not sure this question came across they way you had hoped. You might want to try asking again with more detail, and rephrasing it differently. | |
Re: Thanks for updating the thread to update us that you had found the problem and what your solution was :) | |
Re: Where is the code you have written so far for this? If you haven't done any code for any of it, we can point out some tutorials. http://javascript.info/tutorial/mouse-events If it doesn't HAVE to be pure javascript, I would recommend looking into jQuery. http://api.jquery.com/ | |
Re: I was looking and I may have missed it but, what is the limit on API requests that can be made? I am assuming there is one set. | |
Re: You are over complicating it. Look at this http://jsfiddle.net/pixelsoul/RNg8X/ | |
Re: This may help you http://www.mysqltutorial.org/mysql-distinct.aspx | |
Re: You don't by chance have this up online somewhere that we could see it, do you? | |
Re: When you post code, please use the Code button up above the text area. It makes it a lot easier to read and keeps the formatting. Your select the submit like var x = $("form :submit").attr('value'); Your alert from success should be success: function(){alert("" + x);} | |
Re: None that I can think, but then again, I personally don't stress over an extra line of code. Maybe if I thought I could turn 300 lines of code into 30, that would be something to work towards. 3 lines of code sounds pretty neat and clean to me. How … | |
Re: You can just use COUNT() to get the total number of rows (which of course would be the last row number). My MSSQL server is at work so I can't look at it, and I am having a "duh" moment, but I believe the rows start at 0. You can't … | |
Re: I know this has probably nothing to do with the issue you are seeing, but instead of **.click** I would use **.on** and then add **click** and **touch** as the events, something like this $('#levels_23,#levels_45678,#penthouse_collection').on("click touch", function(){ ... }); | |
Re: You need to include the link to your db in there as well. Example: mysqli_real_escape_string($dbconn, $_POST['price']); http://php.net/manual/en/mysqli.real-escape-string.php | |
Re: So you're saying that this doesn't work? UPDATE drugs,drug_sales SET drugs.b_price=SUM(drug_sales.fee)/SUM(drug_sales.quantity) WHERE drugs.drug_id=drug_sales.drug_id AND drug_sales.pid=0 | |
Re: So, are you asking how you can save the state of the form elements after the page refreshes? Or, are you asking how you can update a table in the database when the form element has been changed? | |
Re: That is exactly what **extends** does in the **class B** for the example pritaeas had given. It is able to use everything that is available in the **Controller** class and manipulate the output in **class B** without affecting the original Controller class. | |
Re: Here is some information on looping in PHP http://www.w3schools.com/php/php_looping_for.asp | |
Re: Yes, it is possible. Here is a nice little htaccess rewrite generator that can write it for you too :) http://www.generateit.net/mod-rewrite/ | |
Re: @Xantipius - That is pretty awesome. Nice work. | |
Re: pft....... I went to a game last year... sooooooo boring for me. No wonder everyone gets drunk at those matches. | |
Re: If you're using PHP 5 or higher it is recommended to use PDO or mysqli, so you are correct on that part TonyG_cyprus. The mysql function is deprecated in **5.5.0** and will be completely removed in a future release after 5.5.0 If you are not sure which (PDO or mysqli) … | |
Re: CSS can be very simple, but in that same breath, it can get pretty complicated as well. To me what seems to be the biggest issue with people new to CSS, is they try and push, pull, squeeze, and force all the elements into places that they would not naturally … | |
Re: I would do this $checkQueryResult = mysqli_query($dbc, $checkQuery)or die(mysqli_error($dbc)); The @ in front of **@mysqli_query** supresses errors, you don't want that there when you are debugging. Setting this: or die(mysqli_error($dbc)); Will show you any errors that are generated during the query as well. ![]() | |
Re: > This sound more like a brower plugin than a website using javascript It sounds like spyware to me... | |
Re: You could use the css :after selector for that. Example: http://jsfiddle.net/pixelsoul/SWL8B/ | |
Re: You should probably be using UTF-8 encoding for your MySQL database as well http://www.bluebox.net/about/blog/2009/07/mysql_encoding/ http://www.bothernomore.com/2008/12/16/character-encoding-hell/ | |
Re: This sort of sounds like something I might say, after 20 shots of Tequila. | |
Re: I'm going to take a guess and say it is the number of databases that you can in the MySQL instance. I suppose the 300mb is the storage space for each database. If that was the case, it is horrible in my opinion, and I would shop around. Heck, I … | |
Re: A couple small changes in your jQuery and you would get the behavior you want. http://jsfiddle.net/pixelsoul/qR4uJ/1/ | |
Re: Hotmail/Outlook webmail is pretty particular on the emails that it recieves. If you are not seeing them come into the inbox, they are most likely in the "junk" folder. If they are not in the "junk" folder, then the mail headers are either severly malformed or the email isn't reaching … ![]() | |
Re: It is taking longer than 30 seconds to execute. You can increase the max execution time in the php.ini file. max_execution_time ![]() | |
Re: User is a reserved name INSERT INTO images (`user`, `server`, `img-name`, `download`, `download-url`, `image-loc`) VALUES ('test@test.com', '3', 'Penguins.jpg', 'no', 'GaNfT', '69Z8PwE0uJLfRNDijPenguins.jpg') | |
Re: I don't see a problem with the css, but I'm unsure why you have it separated into different inline style tags. Probably need to see the mark up and the rest of your css to tell what the problem is. |
The End.