8,966 Posted Topics
Re: You can control it if you use `preg_replace_callback` | |
Re: You can use a regex, or if you are using jQuery a validation plugin. | |
Re: Perhaps because it's "Products", with a capital P. | |
Re: http://dev.mysql.com/downloads/installer/5.6.html The download page says it's x32 so it should run. I know I had 5.5 running on it once (using WampServer). | |
Re: [Official documentation](http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html). | |
Re: Echo out your variables before the `if` to see if they are set correctly. | |
Re: The standard HTML file input control will let you select from the computer it's on, and attached network computers, but NOT from FTP. I haven't come across any file pickers yet that support this, probably because it cannot be done without server-side scripting. Javascript only supports HTTP and now WebSockets. | |
Re: No need for frames, they have an API. Create an account and read the documentation. | |
Re: See Dani's answer in [this thread](http://www.daniweb.com/community-center/daniweb-community-feedback/threads/452623/new-forum-topic-idea). | |
Re: An incremental build usually means that your project is split into modules, and each module is designed, built and tested fully. Then the incremental step is to merge modules, and iterate until done. I don't think he means the compiler, as that already only compiles what's changed. | |
Re: What exactly is not working, phpMyAdmin? Please provide some more information. | |
Re: > any suggestion? Just use `explode()` on the member field to generate an array, so you can use `foreach()`. | |
Re: Instance name is the name for your running database service (you specified this during install). You should be able to find out what it is with Management Studio. Add this for more information: die(print_r(sqlsrv_errors(), true)); | |
Re: > Now, I want to know how to ignore this character '|' when I use strpos so i get the position 3 at 5 and 14. Remove the pipe from your string before finding the positions. | |
http://www.daniweb.com/api/members/94719/articles?page=1&filter=watching&orderby=lastpost&access_token=MY_ACCESS_TOKEN I expected four results here, but it shows only watched articles started by me (two). I want all watched articles. What did I miss? | |
Re: Are you sure you get one email via GET and another via POST? Also, line 4 does nothing. | |
Re: Do you want to use your Delphi as a DataSnap server? Please give some more information about your application (technology), and what you want to convert it into. | |
Re: I assume you want to use a database? A login page is basically a form, which submits to a script that does the actual validation. If successful, it can set a session or cookie to allow access to other pages. If you look in the PHP forum, am sure you'll … ![]() | |
Re: Not sure if this is related to the new menu, but when I press [end], my page doesn't go to the end the first time (Opera and IE). The bottom bar is hiding behind the floating purple bar. It's annoying. (only in the forum's article view) ![]() | |
| |
Re: So you want to sell slightly modified code (from others) and make money from it? | |
Re: Just browsed throught the slides of the 2007 PHP in the real world. What I liked: the final statement: "Never assume, always doubt". What I disliked: the start, performance and bottlenecks. NEVER start with that (security is much more important). Start thinking about performance when you're application's is running production, … | |
Re: https://github.com/EllisLab/CodeIgniter/wiki/Permission-Class | |
Re: What are you trying to accomplish? | |
Re: What do you have so far? | |
Re: That only works when your PHP script runs on the same machine as your desktop application. | |
Re: if (isset($_POST['box1']) && is_null($_POST['box2'])) From the manual: *"**isset** — Determine if a variable is set and is not NULL"*. So you can safely remove the `is_null` from the `if` as it will have no additional effect: if (isset($_POST['box1'])) | |
Re: Check if your file has a unicode BOM marker. If so remove it. ![]() | |
Re: Will you update you RSS pull example to cUrl? Newbies trying will probably get an error since most hosts will not allow cross domain fopen wrappers (file_get_contents). It'll save you some questions IMO. | |
Re: If you are using MySQL then look into `FIND_IN_SET()`. There's a [thread](http://www.daniweb.com/web-development/php/threads/441475/how-to-join-two-tables-using-a-comma-separated-list) about it. ![]() | |
Re: You'll need to use the `preg_match()` functions, and it's siblings. | |
Re: My bad, leftover from some API testing, although you did link to MySQL instead of MSSQL. ;) | |
![]() | Re: Sometimes you can have both. In my case, I help people out by creating custom components. A lot of these (with a little thought) could be used where I work. So basically I keep that in mind when creating them, creating a base component for general use and a specifc … |
Re: This is where a function comes in. Create a function for those three lines, and all other times you need to use it, a single line suffices. | |
Re: My best achievement was being allowed to play cards in the back of the class during physics, because my teacher knew we understood it anyway. | |
Re: I think you'll need a sub-select to calculate the new value. | |
Re: Line 34 and beyond uses `com1` which is undefined. What's on line 55 should be before 34 I think. | |
Re: One way is to include a reference to the other class in your call (a callback), but perhaps you're looking for method overriding. Without your actual class definitions it's hard to guess which direction would be the right one. Is this what you have/want? class Controller { public function fetch($arg) … | |
Re: @pixelsoul, I didn't figure you for one to link to w3schools instead of to the manual... | |
Re: Why? Simply because it's much easier to start coding in PHP then it is in most other languages. | |
Re: Made solely be my: several training applications that will teach a certain concept in steps. Advancing to the next step requires completing the test. The one teaching Material Requirements Planning is used at several universities (Delphi). Made by my lead: a web booking engine serving hotels, interacting with their local … | |
Re: On localhost it has all the resources of your machine, not so on a shared host. What is your script doing, that it needs 10Mb? | |
Re: > my sendmailselected.php file is not working and is erroneous What's not working, and what's erronous? ![]() | |
Re: I don't understand the fuss about the curly brackets, it is allowed and a correct way to include a variable in a double quoted string or heredoc. | |
Re: Without any spaces it won't break automatically. Add a manual break. Am glad everything is still readable, and doesn't really break the layout. | |
Re: Try: $category = urlencode($rowd['category']); Since you are using the space in an URL, you should encode it. But, it works in your case too, if you hadn't forgotten to put quotes around the href (as is required by the HTML standard for attributes). echo "<a href=view_gallery.php?cat=\"" . $rowd['category'] . "\">$category</a>"; |
The End.