8,966 Posted Topics
Re: You need to close with a double quote (and a semi-colon) on line 118. | |
Re: What have you tried so far ? | |
Re: Structure window does not always recognize everything, even in Delphi XE. I have had similar problems, where the code works fine, but the structure window shows all kinds of errors. | |
Re: You can not use PHP to write to your clients computer (only cookies). ![]() | |
Re: You may want to read [URL="http://www.daniweb.com/web-development/php/threads/191031"]this sticky thread[/URL]. | |
Re: Why not make that entry a unique index, then you can use a query that updates that index if it cannot be inserted (due to it being already there). [url]http://dev.mysql.com/doc/refman/5.6/en/insert-on-duplicate.html[/url] | |
Re: If you split your string on the @, you can loop through each item and parse it correctly into your array. | |
Re: [CODE] mysql_query("SELECT YEAR(Date_Of_Admission) AS Admission_Year FROM student_enroll WHERE Seat_Number='$_POST[seat]'") // ... echo "<td>".$row['Admission_Year']."</td>"; [/CODE] | |
Re: [url]http://www.tinymce.com/[/url] | |
Re: [url]http://www.navicat.com/[/url] I've used this a long time, and am very content with it. ![]() | |
Re: You need a command line scanner which you can trigger with [URL="http://php.net/manual/en/function.exec.php"]exec[/URL], [URL="http://php.net/manual/en/function.passthru.php"]passthru[/URL] or [URL="http://php.net/manual/en/function.system.php]system[/URL]. | |
Re: I've never tried this, but it should be possible to redirect the .php with a 301 to the .html but you should be careful not to create an endless loop. Another option would be to rename all your .php files to .html and add a handler in your htaccess to … ![]() | |
| |
Re: Check your path, your CSS will have to have a relative or absolute path to your image. Make sure it is correct. | |
Re: Big5 is a character set, don't use it. | |
Re: Shouldn't the form's action attribute point to your PHP file ? | |
Re: It starts several download threads at once, from different starting points. In some cases it can download from multiple sites too (like a torrent). | |
Re: Basically it maps a table in your database to a class. | |
Re: JavaScript runs client-side, can modify the HTML page, but can also communicate with a server (e.g. to retrieve fresh data). PHP runs server-side and can do database operations, but also a lot more. ![]() | |
Re: Personally I'd use Silverlight. The main advantage for me being, you can implement [iCODE]INotifyPropertyChanged[/iCODE]. Drawback can be updating to newer versions, since all browser cache Silverlight locally. | |
Re: [url]http://www.daniweb.com/web-development/php/threads/397172[/url] | |
Re: [CODE] <?php function pass() { $chars = array( 'B','C','D','F','G','H','J','K','L','M', 'N','P','Q','R','S','T','V','W','X','Y', 'Z','b','c','d','f','g','h','j','k','m', 'n','p','q','r','s','t','v','w','x','y', 'z','2','3','4','5','6','7','8','9' ); $pass = ''; for ($i = 0; $i < 8; $i++) { $pass .= $chars[rand(0, 48)]; } return $pass; } echo pass(); ?> [/CODE] | |
Re: Look for storing variables in session. | |
Re: Shouldn't there be a link from room to building and from pc to room ? | |
Re: Use the right single [iCODE]'[/iCODE] and double quotes [iCODE]"[/iCODE] | |
Re: First make sure what you want. For example, a regex for the last is: [CODE=text] /\d{9}/ [/CODE] So it could be extended to allow space/dashes in place 4 or 8: [CODE=text] /\d{3}[ -]?\d{3}[ -]?\d{3}/ [/CODE] Then, to match also a plus, two digits and a space/dash in front you need … | |
Re: What is the reason you choose [iCODE]if: else: endif;[/iCODE] over curly brackets ? | |
Re: You are outputting HTML, so a [iCODE]\n[/iCODE] has no visual effect, try [iCODE]<br/>[/iCODE] ![]() | |
Re: Add a delete function with this: [CODE] $query = "DELETE FROM friends WHERE userid = '$id' AND friendid = '$friendId'"; [/CODE] | |
Re: Just use: [iCODE]$user['username'][/iCODE] | |
Re: [CODE] echo date("d-m-Y", $datumzending); [/CODE] | |
Re: So you just guess anyone can just know what's being done here, without seeing some actual data and table structures ? What exactly do you want documented ? Where did you get it from ? BTW, do NOT cross post. Choose the right forum and post there. | |
Re: Delphi should come with Indy, that has an SNMP component. Don't know if it supports what you need. | |
Re: I think your best bet is to add a tagging to your system. When an entry is added, the tags will be automatically added from the title. This way you can remove the most common words like 'and', 'with', etc. I've posted a way to do tagging somewhere in this … | |
Re: If you have specific questions, post them here, along with the original question. Don't forget to add what you've tried. | |
Re: First check should be whether your filenames are correct. Most issues arise when a development server runs on windows (NOT case sensitive), and the live server runs on *nix (case sensitive). | |
Re: No. SUM always returns a result, where NULL means no data to be summed. | |
Re: [url]http://forums.mysql.com/read.php?98,176676,176727#msg-176727[/url] | |
Re: [QUOTE=HITMANOF44th;1719033]also if you want to save some space ... i didnt do all of them but you get the idea[/QUOTE] Putting $_POST values directly into a query is a very bad idea. | |
Re: Maybe this will help: [url]http://www.xdevsoftware.com/blog/post/Call-WebMethod-from-Javascript-in-ASPNET.aspx[/url] | |
Re: Take the easy way out: [url]http://datatables.net/[/url] | |
Re: Is there a particular reason you want to call two functions like that ? IMO readability will suffer greatly. Let alone designing how validate and formatted should interact with each other (like handling validation errors). Technically, it should be possible, if the validate function returns an object with a formatted … | |
Re: You have this code: [CODE] var frm=document.getElementById('frm'); <form action="print_first.aspx" method="post" target="_blank" name="frm"> [/CODE] [iCODE]getElementById()[/iCODE] searches for an element with ID 'frm'. Your form only has NAME set. Add [iCODE]id="frm"[/iCODE]. Unfortunately, IE accepts this invalid code, whereas FF does not. | |
![]() | |
Re: [url]http://www.w3.org/TR/html401/[/url] [url]http://www.w3.org/TR/html5/[/url] | |
Re: If the relation is one-on-one, then why not add a column with the destination page to your existing table ? ![]() | |
Re: [QUOTE=sacarias40;1718423]I'm using nosql because its ... and performs faster.[/QUOTE] Based on what ? Am curious. ![]() | |
Re: [CODE] SELECT * FROM Combination C, Zendingen Z, Klanten K, Manden M, Bestemmeling B WHERE C.Zending_ID = Z.ID AND C.Klant_ID = K.ID AND C.Mand_ID = M.ID AND C.Bestemmeling_ID = B.ID [/CODE] |
The End.