609 Posted Topics
Re: From a programmatic stand point, yes it is possible. But if someone isn't familiar with the Joomla plugin that you're using it would be next to impossible to tell you exactly how to do it. I might recommend querying the company that the plugin was purchased from first before attempting … | |
Re: @andymcr, my bad if you got spammed lol. I was just testing your script and forgot to change out your email address >.< | |
Re: Do us all a favor, put the site up online somewhere and post a link so we can see. Most of us are not going to download the files and look through a bunch of code. If we can see it online that makes it easier for us to just … | |
Re: You're talking about getting it right in the middle of the screen, right? I am sure there are plent of ways of doing it, I do it with two divs though. You can look at my site for an example http://www.pixelsoul.com The div that controlls the vertical alignment I called … | |
Re: Cookies persist on your local computer, they are small text files that are stored there by websites and web applications that contain some basic information about you as a user. Sessions are application specific and persist only as long as you are actively engaged with a particular web site. For … | |
Re: $run is always going to return TRUE if it runs, regardless if it has results. I would check if the numbers of rows returned was greater than "0". <?php include ('config.php'); if ($_POST) { $user = mysql_real_escape_string($_POST['username']); $sql = "SELECT user FROM `users` WHERE `user` = '".$user."'"; $run = mysql_query($sql); … | |
Re: You have a type in your while loop. while($row = mysql_fetch_assoc($qurey)) Should be while($row = mysql_fetch_assoc($query)) | |
Re: Any analytics tool that uses Javascript (basically all of them) just gets the referer from document.referrer in the DOM. This can't be overwritten with your own value but a lot of times the analytics tools let you override them. I work for an analytics company and we have a method … | |
Re: It looks stuck to the bottom in my browser. Or were you actually attempting to make it scroll with the window? | |
Re: It is all in relation to where your CSS file is to your images. If your CSS and Images folders are under the root of your site, and you want to reference an image from the Images folder in your css file, then you should only have to do ../images/image.jpg. … | |
Re: If you're not using a CSS reset, you should be. http://meyerweb.com/eric/tools/css/reset/ | |
Re: The very first thing I would do is wrap all 3 of them in one div with their own class. You would have a much easier time controlling them after that. | |
Re: If you are just submitting the form back to the same page, why not use action="<?php echo $_SERVER['PHP_SELF']; ?>" > Also, your form action is submitting to Calc.php which your host doesn't like, probably because of the capital "C". | |
Re: It's really hard to say by just looking at the CSS. It appears that it is getting pushed over to the left rather than sliding over there, maybe from the "print this page" button? | |
Re: Well, one of the problem is $result = mysql_query($query, $connection) Should be $result = mysql_query($connection, $query); Also, why are you using mysqli_connect for the db connection but then mysql_query for the query? And, if that is your real database connection script, then your query statement should be $result = mysqli_query($con, … | |
Re: You are going to need to do some "if(empty($something))" checks on your post data. To give you really any more information we would need to acctually see what your code looks like. | |
Re: First, I would never use the below in CSS. It is a wild card and can cause some strange behavior if you are not careful, and it "can" possibly add to your page load. It is just not that great of an idea. *{} The brackets dissapearing actually seems to … | |
Re: I'm real curious on how you are storing that in a string. You have a mixture of double and single quotes in it. Are you escaping everything? diafol's regex would work but there is something that we are not seeing here. | |
Re: I am not experienced with ASP, but I am experienced in SQL. I know that you can convert a datetime stamp in MSSQL with convert(). So, this may be helpful for what you are trying to do http://msdn.microsoft.com/en-us/library/ms187928.aspx I use it on my MSSQL queries because the time stamp is … | |
Re: > I notice 2 errors: line 280 what? = $PAGE_CODE and line 293 what? = $PATH @TonyG, that is a PHP shorthand and it is echoing out the variables value but it only works when short_open_tag is enabled. It is the equivelent of doing this: <?php echo $PAGE_CODE; ?> I … | |
Re: Give this a try, looks like it works. http://stackoverflow.com/questions/4068373/center-a-popup-window-on-screen | |
Re: It maybe a silly question but how many results do you get back when you run that same exact query directly against your database, like in phpmyadmin? | |
Re: I am not completely sure what "only one slider can be clicked" but I imagine you are talking about the buttons. If that is the case you might want to try something like this. <script type="text/javascript"> var $ = jQuery.noConflict(); $(document).ready( function($){ // buttons for next and previous item var … | |
Re: Good start so far, cool logo. Try this: .wrapper { width: 100%; height: 60px; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#464646', endColorstr='#5a5a5a'); /* for IE */ background: -moz-linear-gradient(center bottom, rgb(70, 70, 70), rgb(90, 90, 90)) repeat scroll 0% 0% transparent; background: -webkit-gradient(linear, center bottom, center top, from(rgb(70, 70, 70)), to(rgb(90, 90, 90))); border-top: 2px solid … | |
Re: It's a loop through the array. You're defining the array name as $stuff and then you're echoing values from the array with $stuff['array_key']. So $stuff['title'] is pulling the value from the array with the key "title". Also, you have a syntax error here echo '<h2>' . $stuff['heading] . '</h2>'; You're … | |
Re: !important works fine in Chrome but, this "dxgvControl_Office2003Blue a" will override this ".lnkjobref" even with !important because of the "a" targeting the href tag. If you set your rule to just "dxgvControl_Office2003Blue" with the "a" on the end then you should see !important on the other class work just fine. | |
Re: I wonder if mouseover/mouseout has the same behavior in FF. | |
Re: Probably should check this http://www.w3schools.com/php/php_mysql_update.asp | |
Re: You should really break apart the file type check and file size check like I have below. Also, it is probably failing because you are checking for example "image/jpg" but your array just contains "jpg". You only need to check against this array, no need to include $extension in it. … ![]() | |
Re: You could use local storage with HTML5 and Chrome has full support for it. http://diveintohtml5.info/storage.html http://www.w3schools.com/html/html5_webstorage.asp | |
Re: If you are hosting on an Apache server you can use the .htaccess file for creating "friendly URLs". Here are a couple of links that should get you started http://zenverse.net/seo-friendly-urls-with-htaccess/ http://webdesign.tutsplus.com/articles/general/seo-friendly-url-structure/ | |
Re: I checked it in 3 different browsers and I am not seeing a shift, it is centered for me. The only possible way I can see it shifting a bit is if the content extended past the fold on the bottom of my screen and a scroll bar was enabled … | |
Re: It depends what format you want it in but... echo date("Y/m/d"); | |
Re: Why do you need to combine them? Are they not working correctly as separate functions? | |
Re: You need to loop through your array if you want to input each of the values into your database table. I can't tell you exactly how to do it since we don't have all of your code but it could be something like this. foreach ($yourArray as $key => $score) … | |
![]() | Re: If you don't have any scripts on your site that allow any user input or any type of uploading, and your folder permissions are set to a ready only access, then I wouldn't worry too much about someone being able to put a file in the directory. htaccess can help … |
Re: Not sure what your last post here has to do with the original question on this thread. You already asked the question in your last comment in different thread and I answered that question http://www.daniweb.com/web-development/php/threads/450263/update-value-in-db-array | |
Re: > 1)Are there official limitations on how much text information a browser can present in a single web page? The browser can load a page as long as it has memory. Once the memory is gone, you're going to see issues loading a page. > 2)So, at this point should … | |
Re: Does it come back blank? with an error? Throw this in your loop and see if that shows anything. echo "<pre>"; print_r($row); echo "</pre>"; | |
Re: Your query is probably failing. You need some more error checking. $db=mysql_connect ("localhost", "root") or die ('I cannot connect to the database because: ' . mysql_error()); $mydb=mysql_select_db("database"); if (!$mydb) { die ("Could not connect to database $mydb : " . mysql_error()); } $sql="SELECT ID, FirstName, LastName FROM `contacts` WHERE FirstName … | |
Re: Please just post your PHP inline here on the forum. Most of us don't like clicking links and downloading files. ![]() | |
Re: PHP is heading the OOP direction more and more with every version. Getting familiar with OOP in PHP as soon as possible is probably a very good idea. | |
Re: If you theme has an attachment.php then it is using this file to display the image, which in that case you would need to edit this file to your liking. If you don't have an attachment.php then the theme is most likely using index.php which is the default. You can … | |
Re: If you were using a css reset it would reset your styles in all browsers and would help ensure a better chance that your design would look the same in all browsers. A good reset also would remove the borders on many/most elements. I never do a project with you … | |
Re: I don't see problems (but I am really tired too lol). Make sure that you set your folder permissions for at least chmod 775. I don't remember if move_uploaded_file actually has any default error reporting if it fails. If that is all good and it still isn't working, I would … | |
Re: You may want to consider this possibility. http://en.wikipedia.org/wiki/Remote_File_Inclusion | |
Re: I am wondering if the .live() selector would work for this http://api.jquery.com/live/ | |
Re: It would be something like this // would go before the loop echo "<table><tr><td>Product ID</td><td>Product Name</td><td>Price</td><td>Added</td><td>Action</td></tr>"; // would go inside the loop echo "<tr><td>$id</td><td>$product_name</td><td>$price</td><td>$date_added</td><td><a href='inventory_edit.php?pid=$id'>edit</a><a href='inventory_list.php?deleteid=$id'>delete</a></td></tr>"; // would go after the loop echo "</table>"; | |
Re: Just to add my two cents to this... If you are developing stuff for use in a browser, I always design for browsers like Firefox and Chrome first. Then I fix/workaround the errors that pop up in IE (because Microshaft doesn't like following standards). It is usually a lot less … |
The End.