8,966 Posted Topics
Re: You can change line 56/57 to: if (!string.IsNullOrEmpty(textBox1.Text)) { Attachment data = new Attachment(textBox1.Text); message.Attachments.Add(data); } | |
Re: You need help with what exactly? | |
Re: It's more likely to be an issue with your code, as the query itself is correct (as you tested). | |
Re: > if you enter the right username and wrong password, it'll post wrong password vice versa Are you sure you want to do this? It's a potential vulnerability if an attacker can see which one was entered incorrectly. | |
Re: If you tell us what language you are using, then we will move your question into the right forum. | |
Re: > I'm seriously having issues Issues with what? Specify what you want and what the problem is. | |
![]() | Re: > I can't see how PDO::exec() can work with params Because it can't ;) prepare/execute/rowCount is the way to go. ![]() |
Re: If your MySQL server is on a (shared) webhost, you may not have permissions to change any settings. Contact your host. Timing from a PHP script is inaccurate, because it will include the time of data transfer (very variable). | |
Re: Just create a valid HTML file, but keep in mind that the images need to be attached, or you need to specify valid publicly accessible URLs. | |
Re: > If i am posting one article in my cms, it will also post in my twitter account Which CMS is that? If it is your own, see Twitter API. | |
Re: Can you explain how your program is going to interact with the cloud? It will be easier to make a statement if we know what is happening between them. On Azure you have webroles, worker roles, databases, storage and queues. All is easily accessible through the [SDK](http://www.windowsazure.com/en-us/develop/net/). Next to that … | |
Re: For example: http://forum.wampserver.com/read.php?2,70245 | |
Re: The ultimate point of this website is to help others. If you are unwilling to share your problem publicly, there is no real reason to help you to a solution. | |
Re: Split a string into an array, split at every one or more whitespace. See [the manual](http://php.net/preg_split). | |
Re: Switch line 27 and 28. | |
Re: The database connection has nothing to do with his problem. These kind of output errors are often caused by hidden unicode characters in the source script. If `mysql_query` would crash due to errors, the script stops and nothing after it would be outputted. | |
Re: Why not ask for references [here](http://www.daniweb.com/business-exchange/show-off-your-projects/threads/435304/google-maps-tool). | |
Re: There are security rules in place (in your browser) that would prevent a website to open an application on your computer. | |
Re: If you provide an id for each input, they will be easier to target in jQuery. So, it's not required, but will make your coding simpler. | |
Re: Is there a reason you want it like that? Not sure if there is an option to render it like that, but you can always put it in a variable and do a (regex) replace. | |
Re: Looks indeed like the initial loading of the images. No longer an issue once the website/images are cached. | |
![]() | |
Re: > i think the code is working You think? Make sure. Then try to explain the problem you are having in more detail. "It's not working" without explanation or code is just too vague. | |
![]() | |
![]() | |
Re: Perhaps you uploaded your file in ascii mode, instead of binary. I shouldn't be a problem really. | |
Re: Start over in C#. If you are looking for an easy fix, although there may be code converters, I would not trust them. | |
Re: > Am I correct in how this works? Yes. > send multiple records to the web service Call the web method for every record. Or create a webmethod that allows to input an array of records. | |
Below is a documented code example showing how to use the [PDO](http://php.net/pdo) classes/objects to connect and query your database (and check for errors). If there are any questions, or you want to see different features, let me know. UPDATE: I've encountered a problem with PDO and bit fields (MySQL). If … | |
![]() | Re: Where do the dollar signs come from in this snippet? //show previous slide with caption function prevSlide($slides) { $slides.find('img:last').text(this.alt).prependTo($slides); showSlide($slides); } PHP uses them in front of variables, Javascript doesn't. ![]() |
Re: `header` doesn't work if you already outputted html (your form), before calling it. | |
Re: There are two options (Javasccript, not really PHP). 1. Simplest: the full text is already in a div, but hidden, and clicking the link will just display that div. 2. Clicking the link does an AJAX call to a server side script to get the full article, and replaces what's … | |
Re: It should be included, but it may not be loaded. If you click the wamp icon then you can enable it using the menu. ![]() | |
Re: Instead of echo'ing, store it in a variable. You can use that in your insert query. | |
Re: Perhaps this will help: http://blogs.msdn.com/b/sql_protocols/archive/2006/08/10/694657.aspx | |
Re: http://dev.mysql.com/doc/refman/5.1/en/rename-database.html Check your syntax. | |
Re: `AS` should come after: SELECT value AS columnA FROM table2 WHERE nr=55 | |
| |
Re: That will only work if running in (Fast)CGI. See the last entry in [this thread](http://www.daniweb.com/web-development/php/threads/73804/how-to-get-server-address-using-php). | |
Re: Personally, I would not trust the skills of anyone having certifications of these sites. If you really want one, take one from a trusted source like MySQL (or whichever you prefer). You need to invest more (money and time), but you'll be recognized. | |
Re: This should work: DirectoryIndex index.html index.php Try without the `IfModule` first. | |
Re: You're not going to get working code. If you show what you have, we can push you in the right direction. |
The End.