84 Posted Topics
Re: If you've found exactly what you're looking for with that sourceforge script you mentioned, I can't imagine it would be too difficult to remove authentication from the page you need. If you do decide to go the route urtrivedi suggests and hire a developer, removing authentication from that script might … | |
Re: Hmmm, this might need a little tinkering but it can be done. Take a look at this: [W3Schools - getUTCDate](http://www.w3schools.com/jsref/jsref_getutcday.asp) First, I would use that to get the current day, then compare the current day to an array to see how far from Friday that day is. The array could … | |
Re: str_pad is a good solution for this, however the code provided by catalinetu won't work because HTML truncates multiple spaces to one space unless you use non-breaking spaces with " " Now the problem with using with str_pad is, as per PHP Manual: "Note: The pad_string may be truncated if … | |
Re: Take your `<form>` tag out of the loop bud. Your initializing a new `form` with every item you add in the loop, but you're closing it only once outside the loop . Also, to help you further, show us your add-to-cart.php code. | |
Re: You're asking for two different things bud. You don't want a "code" generator, you want a "markup" generator. Keep in mind however, that if you're going to go this route, it's best if this is a small project since markup generators will give you **A LOT (A LOT, A LOT … | |
Re: Take a look at the HTML `loop` property. I believe that's what you're looking for. [W3Schools - DOM loop Property](http://www.w3schools.com/tags/av_prop_loop.asp) | |
Out of curiousity, if any of you have ever done image watermarking with PHP, I'd love to hear some ideas. PHP's official documentation on watermarking with alpha channels isn't bad but I'm curious about the existence of other libraries that some of you might have used. | |
Re: `session_start()` needs to be before any variable declarations/html. Try putting <?php session_start(); ?> at the top of the page, and delete your line 16. | |
Re: Any specific errors? I believe `UNION` statement has a few very specific requirements. Off the top of my head, two of them are that the `SELECT` statements must have the same number of columns you're quering for, and those columns' data types must match. So instead of using `COUNT(*)` in … | |
Re: Correct me if I'm wrong but wouldn't overlaying the text with a transparent image make all the text under it un-selectable? | |
Re: Oh how I wish you had included the HTML as well, instead of me typing a mock table with input fields! :( | |
Uhhhh, so take a look at my profile. I apparently have one downvoted response but when I click on Posts Voted Down, I get "There are currently no matching articles available. Try back later." I know this is just nitpicking about small things but just wondering if this is a … | |
Re: This is cool. Solved without a single response. Don't you love it when you solve your own problems? LOL. | |
![]() | Re: Good lord it's about time! EllisLab made us wait forever for v3. To be honest though, I have a few large projects built on CI and I'm kinda afraid to upgrade because of all the horror stories I've heard about things breaking with framework upgrades. Once a stable version is … |
Re: lol @ "button" ... I had to check this thread out. Here ya go bud, I created a quick sample for you. This should get you started. Click the "Sign In" button and you'll see your container slide down, then go ahead and fill that container with a regular <form>. … | |
Re: Take a looksie at this: [jQuery Validation Plugin](http://jqueryvalidation.org/) I've used it in the past and it sounds like it meets your needs. Plus it takes care of the smaller issues that sometimes get over-looked such as firing the focus event on any field that was not validated. | |
Re: Hmmm! Because JS is not server-side, to accomplish this, I think at a very minimum you would need something like a browser plugin. Are you using any sort of scripting language in the back? If you are, you might want to search for...let's say Code39 barcode generators for that language … | |
![]() | |
Re: Welcome to Daniweb rjusman90! Just a quick pointer. It's obvious you don't speak English well but please try to explain what you need in as much details as possible. We can all gather the bits and pieces to figure out what exactly you need help with. Your title and the … | |
![]() | Re: >Use: http://api.jquery.com/event.stoppropagation/ >It stops the event from "bubbling up". Perfect solution, but don't forget to pass "event" as the function's parameter. Won't work (in some browsers) otherwise. $(".dd-item").click(function(event){ alert($(this).find('.dd3-content').html()); alert($(this).find('.url').html()); event.stopPropagation(); }); ![]() |
Re: The syntax is fine. I was able to create the table using the exact code above copied and pasted. Which versions of PHP and MySQL is the server running? | |
Re: You can create another function that captures the value of the "5thsub" and then call that function in two different places. One right inside your SetSubject function to capture the value as soon as the field becomes active and the other with an onchange tag in the select statement to … | |
Re: You're using too many unnecessary variables bud. Since this is a simple code, the best approach would be to have just one function do all your dirty work (formatting 'n stuff), store what you need in session variables, and use those in the rest of your code. Here, try this … |