8,966 Posted Topics
![]() | |
Re: In such a situation I'd define my classes/methods for my generic functionality. For every class I'd sub-class it to a client class. The default client sub-class will contain nothing new, and all calls will go through the client class. [code] class FileAccess {} class ClientFileAccess extends FileAccess {} // <-- … | |
Re: [url]http://www.web-development-blog.com/archives/send-e-mail-messages-via-smtp-with-phpmailer-and-gmail/[/url] | |
Re: If you use a framework then a lot of code is already written. Then, depending on your project, you can chose the framework that best fits your specifications. You should see it as a tool for the job. | |
Re: Try [icode]LAST_INSERT_ID()[/icode] | |
Re: It should be: [code] INSERT INTO table (columns) VALUES (values) [/code] instead of VALUE. | |
Re: Use session_start() as the first command in your code. | |
Re: You can use [url=http://api.jquery.com/jQuery.getJSON/]this method[/url] if you return your values as JSON. | |
Re: If you use AJAX then you can poll the server for changes. See the answer in the Javascript forum. | |
Re: [code=php] $path = 'response.xml'; // this is your response saved to file $doc = simplexml_load_file($path); $doc->registerXPathNamespace('ns3', 'urn:UMARKETSCWS'); $nodelist = $doc->xpath('//ns3:createsessionResponse/ns3:createsessionReturn/ns3:sessionid'); echo 'Session ID: ' . (string)$nodelist[0]; [/code] | |
Re: A google search came up with this: [url]http://support.microsoft.com/kb/300956/en-us[/url] | |
Re: 1-3 numbers, at least one character: [code] \d{1,3}=[a-zA-Z]+ [/code] If you'd want letters, digits and underscores, you can use: [code] \d{1,3}=\w+ [/code] | |
| |
Re: If all your properties are stored as string values, then you could use a table to link categories and properties. You'd have a table for categories, one for property definition, another one linking them together, and one data table, linking category, property and value to your product. | |
Re: Check your casing, in the form you use Submit1, in php submit1. They should match exactly. | |
Re: It is still in use. They have just released XE, and have a new roadmap for the future. You can read more on the embarcadero website. | |
Re: You want something like this: [url]http://jpgraph.net/[/url] | |
Re: How is your site setup ? Do you use PHP, MySQL, or other technologies ? An RSS feed is really nothing more than an XML file containing your newest entries. | |
Re: [code] $query = mysql_query("SELECT * FROM `products` WHERE `name` LIKE '%$s1%' AND `functions` LIKE '%$s3%'"); [/code] | |
![]() | Re: You can use rowspan. [code] <table> <tr> <td rowspan="2">1</td> </tr> <tr> <td>2</td> <td>3</td> </tr> </table> [/code] |
Re: I was speeding down the highway when I suddenly see a police car behind me, so I speed up. After a while, unable to get rid of him I pull over. When he's beside the car he says: "Well, I've stopped a hell of a lot of speeding drivers today … | |
Re: The else belongs to the if(mail), just like your redirect. You need to redo your logic. | |
Re: You cannot mix javascript and php like that. You need to create a php file that generates the complete javascript array definition. | |
Anybody knows if this trial is still available for download somewhere ? I need to test something on an older XP installation, and the 2008 trial needs 2003 server to run. | |
Re: [url]www.ajaxcrud.com[/url] | |
| |
Re: I think that after the dialog with the result, you should make it easy for the user to add three new values (e.g. clear the input fields). "Until the user decides to quit" probably means a button to close the browser, or possibly a dialog asking whether or not you … | |
Re: Lines 9 and 11 are missing [icode]var[/icode]. | |
Re: The confirmSubmit function should return false if submitForm == false. Check your logic so it does. Your functions should return false if you do not want to submit/reset, or true if you do. | |
Re: Read all about it here: [url]http://code.google.com/apis/imagesearch/[/url] | |
Re: Did you read the sticky thread a the top of this forum ? Anyway, there are tons of threads here, al with the same problem... | |
![]() | |
Re: If you want to insert the current timestamp you can use NOW(), like this; [code=php] $insert = "INSERT INTO eguardIPs (Field1,Field2,Field3,start) VALUES ('".$_POST['Field1']."', '".$_POST['Field2']."', '".$_POST['Field3']."', NOW())"; [/code] | |
| |
Re: Remove the die() and check with [icode]if (!$check) { header(); } [/icode] | |
Re: 1. Show your query. 2. HTML does not show line-breaks, unless you show them inside a <pre> tag, or convert them to <br/> | |
Re: XML is needed when you want to interface with some API's, but most of them now support JSON too. In my opinion I'd learn js/AJAX first, and XML when you need to. | |
Re: You want to edit inside the stringgrid, or just copy a cell value to some editbox elsewhere ? | |
Re: I'll ask a question back: how are you going to provide a full website (menu's and content) to your user, using only javascript. | |
Re: How about searching with [url=http://dev.mysql.com/doc/refman/5.1/en/regexp.html]REGEX[/url]. [code] $query = "SELECT * FROM table WHERE column REGEXP '[[:<:]]" . $word . "[[:>:]]'" [/code] | |
Re: Most likely the contents come from a database table. It searches for "register" and returns the contents associated with it. | |
Re: Personally, I like Navicat a lot, but it does not provide the visualization you ask for. I did use MicroOLAP a long time ago, which does have a [url=http://www.microolap.com/products/database/mysql-designer/]designer[/url] like that. | |
Re: There is no column with that name (unit1_code) in your table. |
The End.