8,966 Posted Topics
![]() | |
Re: Why don't you push both values (the entire record) to the same array: while () { $recipients[] = $row; } foreach ($recipients as $recipient) { $mail->AddBCC($recipient['email'], $recipient['full_name']); } | |
Re: Do you even get to the query part? If you put an `echo` statement before it, is it visible on the page? | |
Re: Without any URL to see it, this is impossible to answer. | |
Re: You need to be a little more specific. What do you have and what are you trying to achieve? | |
Re: Try this one: http://www.sitepoint.com/using-curl-for-remote-requests/ | |
Re: > Should I use a pre-existing CMS engine like WordPress and code ontop of that? Should I build the CMS myself from scratch? How much time do you have? | |
Re: http://tools.ietf.org/html/rfc2822#section-3.6 You can, but technically all fields except two are optional. See the 4th paragraph in section 3.6. | |
Re: I recommend you to reconsider your design. Don't go down this path. | |
Re: Is the closing quote on line 43 the same in your code, because that could cause an issue. | |
Re: > if someone searches Google or any other search engine So you want this to work on all browsers, for all search engines? Are you trying to implement this on an intranet or so? | |
Re: Is [register globals](http://php.net/manual/en/security.globals.php) turned on perhaps? | |
Re: http://daringfireball.net/projects/markdown/ | |
Re: > is remove() or hide() even marginally faster than the other? Theoretically hide should be faster. Run a test and find out. | |
Re: Check if the default document is set to `index.php`, either in the htaccess or in your hosting control panel. | |
Re: You need to move the `option` inside the while loop, because every option needs that tag. | |
Did something change to the API OAuth flow? When I try to login with my app (dwapi.pritaeas.net), and click "continue" on the authorize page, I get to the Oops page. Haven't used it in a while, but am not aware of any changes I have missed. | |
Re: Check for mysql errors. Am pretty sure `date` is a reserved word. | |
Re: What do you have so far? Don't expect to get ready-made solutions here. | |
Re: Does `$session_id` have the correct student id? | |
Re: > $_REQUEST['delete']=='yes' && isset($_REQUEST['delete']) These need to be reversed. First check if it's set, then use it, not the other way around. | |
Re: There are several code snippets about this. Browse [here](https://www.daniweb.com/web-development/code/_/31) | |
Re: http://blog.vine.co/post/55514921892/embed-vine-posts | |
Re: Is the application database the only one that changes, or do they both change and you want to merge them at a later point in time? The first option could be easy enough. You need to insert the missing PK's. For changed records, it would be wise to implement a … | |
Re: Use `mysqldump` or phpMyAdmin to export the database to script. Then you should be able to execute that script online. | |
Re: Have you tried just: $rs = mysql_query( 'SELECT @totalcount' ) or die(mysql_error()); Also note that you are fetching twice. Once is enough. | |
Re: > i need the regular expression pattern equivalent the above php string function. What have you tried? ![]() | |
Re: This editor uses markdown, not BBCode. Which tutorial are you referring to? | |
Re: > Its suppose to increment by 1, say EMP0003 and so on. So where is the `+ 1` ? | |
Re: Start by changing line 18 to: $con=mysql_connect("localhost","root","","firstphp") or die(mysql_error()); and line 29 to: $result = mysql_query($sql) or die(mysql_error); You'll see that your query is missing single quotes around your string/varchar values (and perhaps password is misspelled). Remove lines 31-33 because they execute the query again, and then use a mysql**i** … | |
Re: From the [manual](http://php.net/setcookie): *"Like other headers, cookies must be sent before any output from your script (this is a protocol restriction). This requires that you place calls to this function prior to any output, including <html> and <head> tags as well as any whitespace."* | |
Re: Is there a specific reason you are using full URLs? | |
Re: Am not sure if this is the cause, but your RSS feed has invalid tags. It could be causing the problems, I've seen it before. If you view the source in the browser, how does it look (with the WHERE clause) ? | |
Re: > on error want to keep value on update or insert You'll need to be more specific. ![]() | |
Re: How have you created your online database? It should state somewhere how you would access it. | |
Re: Am pretty sure that Microsoft will not allow you to do this via telnet. Be careful not to be considered trying to hack their servers. | |
I've been looking for a while for an example that uses claims, but I need it working in a desktop application and/or WCF service (a full local setup). MS and others say it should work, but examples are apparently well hidden within the depths of the internet. All I can … | |
Re: Something like this perhaps? https://zapier.com/zapbook/callfire/zoho-crm/ | |
Re: > How can I read and print the content o the file. $yourArray['content'] Probably contains the binary file. You need to save it before you can open it. |
The End.