8,966 Posted Topics
Re: The error implies that the query returned an error. I suggest you do the following, and post the error message and query back here: $result1 = mysql_query($query1) or die(mysql_error() . '<br/>' . $query1); | |
Re: If the text file is publicly available, you could provide a direct download link to the user. Just turn the path into a valid URL. | |
Re: > Does catch mean, that I can avoid outputting all the ugly err messages, and perhaps log errors in a txt file or whatever else i would prefer? Basically. You can even check the error number and use it to act upon specific errors. There's also a `finally` statement (PHP … ![]() | |
Re: > The $prod_id that you are using in the query has not ben defined anywhere before. Where is the product ID coming from? | |
Re: Shouldn't line 15 be: $data['emailgot'] = $emailgot; What is the error you get? ![]() | |
## Before You Ask ## - Engage your brain! We understand that running into a problem can turn off the rational centers of the brain, but please sit back and think for a bit about your problem before running off to find help. All too often a little common sense … | |
Re: What you can do is to add a hidden div for each button you have, which you can then show on hover. You could have something like this: <div class="button"> <a href="#">Link</a> <div class="hidden"> <img /> <p /> </div> </div> Then the jQuery would look like this: $('.button').hover( function () … | |
Re: Can you provide some sample data? A bit difficult with just seeing the query. ![]() | |
Re: > ads never get hide Probably in the Google script. I don't think hiding ads is allowed by the ToS. | |
Re: Are you trying this on your server, or on a development machine? | |
![]() | |
Re: Something like: SELECT *, SUM(`Value`) FROM `table` GROUP BY `UnitID` HAVING SUM(`Value`) >= 1000 Untested, but should get you going. | |
Re: > code which will guarentee to work This depends on your settings. IIRC sqlsrv uses windows authentication by default, which unix won't have. Have you tried `mssql_connect` instead? | |
Re: You can post to a page with [cUrl](http://www.php.net/manual/en/function.curl-exec.php). | |
Re: Compare the date in the table with `CURDATE()` or `NOW()` | |
Re: It looks fine with Safari 5.1.7 on Win8. | |
Re: Instead of all those expand variables, you could use an array and at the end use the `implode` function. Something like this: $where = array (); if ($continent_regions != ""){ $where[] = "plant_locations_link.continent_regions IN ('$continent_regions')"; } if ($country != ""){ $where[] = "plant_locations_link.country IN ('$country')"; } if ($state != ""){ … | |
Re: Can you show what you have tried? What are you using, SimpleXml? | |
Re: You'll need to share your code. Without it it's hard to help. | |
Re: `json_decode` has an option to return an object instead of an array which should be enabled by default. | |
Re: > Please help me thanq Any specific issue, or are you just looking for a ready-made script? ![]() | |
Re: > There is another option, but I couldn't locate it in my profile settings It's the "Receive e-mail from DaniWeb" checkbox. | |
Re: Perhaps the insert is called when there is no posted form data. Check your logic. ![]() | |
Re: Something like this: select stockin.serialno, sum(in_quantity) SUMIN, group_concat(in_quantity) GCIN, sum(out_quantity) SUMOUT, group_concat(out_quantity) GCOUT from stockin left join stockout on stockin.serialno = stockout.serialno group by stockin.serialno | |
Re: http://www.daniweb.com/web-development/aspnet/threads/372792/read-xml-file-using-asp.netc | |
Re: Use MySQLi or PDO and use bound parameters instead of string concatenation. | |
Re: > By the way, all database connection information in the include is for system use, it is not provided to the user/account holder. If it's for system use only, why not use a single username/password combo for all databases? It's just the database name that needs to be configurable. | |
Re: `name` is not given a value yet, since you did not pass any parameters to the constructor, nor did you call the parent constructor. ![]() | |
![]() | Re: > does the code say more then the end result? IMO the code shows more. |
![]() | Re: Looks like `auth.php` is missing the `session_start()` ![]() |
Re: When your user logs in, store his information in a session variable. At the top of the registration script, check this session, to see if it contains a valid user (with level 5). If so, output the form, if not, redirect somewhere with an error message. | |
Re: Could be a permissions problem, or storage issue on the server. You are trying to create a folder, but this fails. | |
Re: `$.post` is a subset of `$.ajax`. As you can read on the [manual page](http://api.jquery.com/jQuery.post/): *This is a shorthand Ajax function, which is equivalent to:* $.ajax({ type: "POST", url: url, data: data, success: success, dataType: dataType }); | |
Re: > THere is no way You should be able to run this under a priviliged user account, which is not allowed to shutdown. | |
Re: Have you tried the BoonEx forums? It's more likely you'll get an answer there. | |
Re: SO far I have not found anything saying it's doable. Are you sure you want this? If you have Git integration then you have versioning, which I doubt Google Docs provides at that level. | |
Re: `static` functions cannot use `$this`, only `self`. Simple solution, remove `static`. | |
Re: What ZF version are you using. In the 1.X manual there's a `setMessages` method, which should enable you to set them all at once. I searched the 2.X manual, but haven't found it yet. | |
Re: > This is what I'm interested in doing, but with HTML and/or CSS. I don't think you'll get this working without using Javascript. | |
Re: > So i want to write a downloader of my own. What language are you using? If there is a logic to the download links, you maybe able to recreate the link you need for any date. Contact them, perhaps they will provide it. | |
Re: Can't say I'm charmed with it. Personally I think the interface is very distracting. So where does the actual integration come in? Is it just the login? | |
The End.