8,966 Posted Topics
Re: Are you using `ftp_put` or `ftp_fput`, you mention the first, but the warning shows the second. Their functionality is different. | |
Re: > i mean in design view, i add table. then when i enter a data in the cell, so can i add this cell text to a field in DB table? Do you mean to do this in DreamWeaver? > Also how can i add extra row when someone clicks … | |
Re: Don't focus too much on Silverlight. MS itself prefers HTML5/Js over it. | |
Re: > I found out that you can always use methods To what are you referring, can you give an example? Classes provide structure, an abstract separation of code pieces. | |
Re: See what it contains. If it's the (slow) query log, and you have a backup, it will be safe to delete. | |
Re: > My first question is: Is it better design to put the UnitPrice field within the Products table or to put it within UnitsInStores table (As is happening already) This depends on your requirements. If a product can have a different price, it makes sense to NOT put it in … | |
Re: Missing quotes on your values. When omitted it searched for column names: INSERT INTO PRINTERMAINT(PrinterName, PrinterNumber, PrinterLocation, PrinterAddress) VALUES ('printName', 'printNo', 'printLoc', 'printAdd') | |
Re: I don't recommend to use a single regex for all the checks (if that's what you meant). It's much easier to just loop through your string and count what category each character falls in. | |
Re: That looks like incorrect saving of unicode characters, so my guess is that someone is using arabic, cyrillic or any other non latin encoding in your search. | |
Re: The problem here is that the PHP user on Apache already has rights to all those folders. This is not easily solved. If you want I can move this to the linux forum, perhaps someone there knows a way. Please refrain from shouting. | |
Re: Usually: 25 databases max, 300Mb max. each. | |
Re: I suggest getting the total number of rows (if possible), and then work your way backwards through the rows. Anything that will shift will not affect you. | |
Re: http://osclass.org/ First hit in my search engine. | |
Re: Something like this: var IdHTTP: TIdHTTP; Stream: TStringStream; Result: string; begin IdHTTP := TIdHTTP.Create(nil); Stream := TStringStream.Create; try try IdHTTP.Get(aURL, Stream); Result := Stream.DataString; except Result := ''; end; finally Stream.Free; IdHTTP.Free; end; end; Then you can try to put result in a string list and read it line by … | |
Re: Assume you have this XML in column `XmlData`: <item><title>1<title><description>A</description></item> <item><title>2<title><description>B</description></item> You can select nodes using a `CROSS APPLY`. Something like: SELECT node.value('(./title)[1]', 'VARCHAR(100)') AS title, node.value('(./description)[1]', 'VARCHAR(1000)') as description FROM table CROSS APPLY XmlData.nodes('/item') t(node) | |
Re: As for Spring, you should definitely try it. If you learn this, there are other languages too, that have implemented Spring (E.g. Delphi, C#). | |
Re: This is not how PHP works. You cannot add code after a button, and expect it to execute when you click it. PHP is executed on the server, and HTML resides on the client. For every button you'll need to trigger some action on the server, either with a separate … | |
Re: The IDE may have issues because it uses graphic modes which are no longer supported. The compiler should work fine though. | |
Re: > everytime a few new elements are added to the page If you are not the one controlling this, you're stuck with what you have for now. ![]() | |
Re: If you look at the RSS feeds on the site you mention, you can see that they do not provide any content. They provide links to content, so if you want that content, you need to get it yourself (scrape the page). | |
Re: > I am stuck on how to model the entity types. Can you explain a little more? | |
| |
Re: Missing semi-colon on line 5. Line 15-17 should be this I guess: $result = mysql_query($query, $handle) or die ("ERROR: Cannot execute $query: " . mysql_error($handle)); I doubt `mysql_connect` will work without a username specified. The query won't run because you need to select a database first with `mysql_select_db` or specify … | |
http://www.daniweb.com/web-development/php/code/452374/rss-dashboard I attached a zip file. I can see it when I "Edit Article", but it's not showing for download. Perhaps because it's a zip, or a code snippet? | |
Re: What usually happens is that you store the email address and a generated code in a database, which you use to create the link. When the user clicks the link, he is taken to a page that verifies the code against the database. | |
Re: I can recommend this [(e-)book](http://www.packtpub.com/cms-design-using-php-and-jquery/book). | |
Re: Your "pastes" table should allow NULL for the "uid" column. | |
Re: To avoid spam, I definitely recommend some system to prevent bot posting. If registering is easy enough, it won't block bots either. | |
Re: "And so on" may explain it for you, but for a regex you need to specify what you want. That means writing out every combination you want matched and "or" them, since a regex cannot "guess". When you have all patterns, there may be shortcuts. 1 sept 07 - 16 … | |
Re: > even when a visitor goes to another page on my website If the page reloads, the music will stop. My guess is the only way would be a single page with all content dynamically loaded through AJAX. | |
Re: 10049 means address not available, it's a socket error. Port seems to be missing the equal sign, so check your syntax. | |
Re: Perhaps [this guide](http://install-climber.blogspot.nl/2013/02/windows8-how-to-setup-iis8-for-php5-integration.html) will help. | |
Re: Here's a [list of RTF codes](http://e-sword-users.org/users/node/3969#comment-2871). In short: /par for <p> /b for <b> /i for <i> /ul for <u> Last three optionally followed by a `1` for on, `0` for off. | |
Re: What do you have so far? What do you need help with? | |
Re: Do yu want to build it yourself, or do you want to use something like HighSlide (ready made and free) ? | |
Re: Debug. Output your variables and the resulting query. Then you can test with phpMyAdmin against your database. It's quite likely something small you've overlooked. Apart from that, I prefer a construct like this: $where = array (); if (isset($_GET['loc'])) { $loc = $_GET['loc']; $where[] = "project_locations.locat_id = $loc"; } if … | |
Re: > I'm not recieving all of the checked boxes What's the HTML for these? | |
Re: Create a single insert query. It may time-out though. Depends also on how you are accessing your images, and how you want to store them. | |
Re: Replace line 2 with: $rs = mysql_query($sql) or die(mysql_error()); It could be a problem with the sub-select, but hard to diagnose without any sample data. | |
Re: You can just use CSS to style the form elements. | |
Re: If you precede an integer with a zero, it is assumed to be in octal notation. If you need an integer outputted with a leading zero, use `sprintf()`. | |
Re: Shouldn't you be checking `$grade` instead of `$gradeID` ? | |
![]() | Re: > I was working on a SQL-type interface Y u no Linq? ;) Am interested anyway though... ![]() |
Re: > not tested, but theoretically should work This alone made me want to hit the vote down button, but I refrained ;) It's an acceptable start. *"In theory, theory and practice are the same. In practice, they’re not."* Room for improvements (IMHO): - Returning `false` is a little weird, you … | |
Re: > I am not sure where to start to solve this problem. Do you know how to use/build a class? Do you know how to use the Twitter API? That should be your start. | |
Re: I think you can only do that if you pass a replace function. You cannot do it with a single replace string in this case, and Javascript regex does not accept arrays as parameters (unlike PHP). | |
|
The End.