8,966 Posted Topics
Re: > span.scrolled Defines CSS properties for the span tag with class "scrolled". It is inserted in the jQuery code: `<span class="scrolled">` `.scroll()` is a [jQuery browser event](http://api.jquery.com/scroll/). | |
Re: There are some possibilities: 1. The include cannot find the file 2. The included file has syntax errors 3. The included file outputs some text, which causes the header to fail Check your error log for more information. | |
Re: How about [strip_tags](http://php.net/manual/en/function.strip-tags.php) ? | |
Re: Even if you don't expect it to be of use, you still gain the client's trust if you do use HTTPS. At some point they will be entering their email and phone number, they would really like it to be safe, am sure. | |
Re: $('#navigation a').hover(function(){ $('#navigation-blob').animate( {width: $(this).width() + 10, left: $(this).position().left}, {duration: 'slow', easing: 'easeOutElastic', queue: false} ); }); Because `$(this)` is a parameter of the animate function, it does not point to the blob, but to the `#navigation a` which you are hovering over. So the width is 10 wider than … | |
Re: If you make sure that that part only contains the first paragraph, then you can use CSS to hide anything that doesn't fit. | |
Re: 1. Yes, you can split them up, and change your query to update only part of a table. 2. You'll need to show your upload code, because this shouldn't be a problem. 3. Yes, it needs Javascript and an AJAX call to retrieve the information. | |
Re: If this is a fixed url, you can use a regular expression to get the 8 out of it. Something like this pattern: ~http://domainname.com/memberFiles/(\d+)/gallery/gallery_config.php~ See [preg_match](http://php.net/manual/en/function.preg-match.php) on how to use it. | |
I'm looking for a short jQuery snippet to count how many divs I can have horizontally in my browser window. Basically, I'm using a fluid layout, like this: <div id="wrapper"> <div id="content"> <div class="foo" /> <div class="foo" /> Wrapper is 100% width, and foo about 250px wide. What's the simplest … | |
Re: You'll need an index file (hand-made) or a script (dynamic) on the server to get access to a file list. | |
Re: > action="/contact.php" The form is posted to `/contact.php` | |
Re: There are some logic errors in this code. Before asking how to use it, you may need some guidance as how to build it too. First, where do the variables in the constructor come from? Shouldn't those be passed as parameters? Second, `die()` aborts your script, you cannot assign it … | |
Re: Can you explain a little more what your setup is? jQuery alone may not be enough to secure some client/server communications. | |
Re: > Call to a member function bind_param() on a non-object This would mean that `$dbc` is not intialized correctly. Is the path of the include correct? Another possibility is that perhaps you are trying to overwrite `condo_id`. If this is an auto_increment column, then this is not allowed. | |
Re: Perhaps the Sync Services can help you. You can find a demo [here](http://blogs.msdn.com/b/sync/archive/2008/06/24/sample-sql-express-client-synchronization-using-sync-services-for-ado-net.aspx). | |
Re: `pages_translation` is the link between the other two tables. Am not quite sure what the problem is. If you add a new page, you use it's `id` in this table (in `page_id`). The `language_id` should be selected from the first table, matching the language of the page. | |
Re: Not quite sure what you are trying to achieve, but it is certainly not possible with an AUTO_INCREMENT column. It is meant to be unique. Can you show some sample data, perhaps that will explain it. | |
Re: The problem is that your UPDATE trigger, triggers the UPDATE trigger ;) (recursively, ad infinitum). As far as I know, MySQL does not allow this. | |
Re: In nextsoftech's cPanel you'll need to allow remote MySQL access for the IP address of simpletelecomltd. If you are allowed to do this, then you can simply use `mysql_connect` (or mysqli, pdo, etc) and pass nextsoftech's IP as the host parameter. | |
Re: On line 8, remove the closing slash for the `a` tag, that's what messes it up. The line should be: echo "<div class='city'><a href='catagories.php?state=" . urlencode($row["state"]) . "&city=" . urlencode($row["city"]) . "&page=" . $page . "'>" . $row["city"] . "</a></div>"; or: echo "<div class='city'><a href='catagories.php?state=" . urlencode($row["state"]) . "&city=" . … | |
Re: Sure. You can use `glob` to read the files, and create an insert loop, or sql file with the queries. | |
Re: > I'm assuming that you're talking about the purple NEW icon next to articles with new posts. And that's really all it is: a way to differentiate between articles with posts you haven't read, and those that have no new activity. Would be nice if the "mark as read" actuallly … | |
Re: Found this: http://stackoverflow.com/questions/4464384/sphinx-delimiters | |
Re: Well, it depends on what your PHP code does. If you only use SELECT, then why add other priviliges? If your code also updates and/or deletes, then you need to add them too. Protecting from abuse in that case would be harder, but can be solved by logging. | |
Re: There are database available (paid) that contain US Zip codes with FIPS and lat/long data. I've not yet seen a free one that provides this. If you google "fips latitude longitude" you'll find several packages. | |
Re: Are you referring to something like [this](http://ajaxplorer.info/) ? | |
Re: How are you using this PHP script then ? | |
Re: You need to get the last insert id directly after the insert query. So move it there, and store the result in a session variable, or pass it as a parameter. | |
Re: Looks like the server version is escaping twice. | |
Re: It is a possible way of detecting average speeds, but there are so many factors in this, it can hardly be considered a reliable measurement. | |
Re: > $this->conn_datas['localhost'] This appears wrong. Can you show how you defined your `conn_datas` array? | |
Re: Pascal or Delphi? What do you have so far, and where are you stuck? | |
Re: The link you posted has all the code you need, so what's the problem? | |
Re: Can you explain a little more what you want? | |
Re: You are mixing in PHP in a Javascript function. That is not possible. | |
Re: So what do you need help with, [splitting](http://php.net/split) the message ? | |
Re: http://www.devshed.com/c/a/PHP/Creating-a-Mailing-List-Manager-with-PHP/ | |
Re: IIRC, it was something like this: `document.cookie = "key=value,path=/;domain=example.com";` | |
Re: Perhaps this [code snippet](http://www.daniweb.com/web-development/javascript-dhtml-ajax/code/276506/jquery-forward-array-to-server) can help. | |
Re: Do you want a ready script, or build your own from scratch ? hotscripts.com has a music-libraries category where you can find ready-made scripts. | |
Re: I think you should start with the documentation from your provider. | |
Re: What is your definition of "correct internet connection speed" ? | |
Re: If you have control over that site, add `?referer=X` to each link. Another option would be to check the headers of the request. Maybe you can find the host in there. | |
Re: I happily use Navicat. Don't know if it will suit your needs though (and it is paid but they have a trial). | |
Re: It's part of the connection string in `oci_connect`. Read more here: http://www.orafaq.com/wiki/PHP_FAQ | |
Re: This forum is the right place for such issues. A new one will only be created should the need arise, through high activity. So go right ahead. | |
Re: > WWW.KahnAcademy.com I think he means http://www.khanacademy.org/ The .com page is a stub page to get traffic. | |
Re: Line 95 shows: `name=\"qty[$id]\"` so it's not `qty` in your POST array. I think you need to change that to:`name=\"qty[]\"` to be able to use the foreach. | |
Re: You know what gets posted, just try to fake some of the fields and break your own code. |
The End.