What type of SMTPSecure you add into the email prefix? And the port number would need to be matched with the SMTPSecure type (25 is not really what gmail currently used to authenticate because it could be blocked). The port number for SSL is 465 and TSL is 587. Also, does the email account require 2-step authentications? Are you sure that the password is correct? It looks like the failure is right at authenticating the sender account. You could check this link for further info on how to email on PHP.
I have done a website that I need to integrate emailing functionality.
I have done this before, and it worked perfectly, and still does.
However, when I attempted to use the same code to test the emailing functionality for the new site, I get an error message as below;
"Mailer Error: The following From address failed: firstname.lastname@example.org : Called Mail() without being connected"
Before asking if it is possible, perhaps you should ask why you're doing it. These are not common requests, so that should tell you that it's probably the wrong approach. Incrementing a character-based field is certainly possible, but again, why would you want to do it? If you need to create a custom 'id' - purely 'visual' for the use of screen or reports, then you can store an id as an autoincrement and create conversion functions. However, what a palaver.
An autoincrement is used to give a table row "uniqueness" and provide a "hook" in order to relate that row of data to another set of data in another table, why would you want two "uniquenesses"? BTW - there are other uses for autoincs, but those are the ones that usually come to the fore.
Some table types allow setting an autoinc field to a secondary field within a compound index (see the link from pritaeas), and this may be useful for you. BUT not all table types allow this - InnoDB, the new default type, does not AFAIK.
I have some problem for counting (products) in cart dynamically with ajax when clicking on (add to cart) "button":
for example: consider that there's only one product in cart, user clicks (add to cart) "button", show div with message added plus count products in cart dynmically
hey guys. i have this table that lists contacts that are stored in database. the data is selected from 2 tables using join which i have already got working:
FROM contact1 c
LEFT JOIN spouse1 s
ON c.contact_id = s.my_spouse
what im having trouble with is selecting another column based on data in one column. okay so this is my contact1 table:
column 'othersalutation' i just added it in today as requested by my supervisor. 'salutation' is only for one salutation like 'Mr.' or 'Mrs.' etc(its a dropdown in the html form) while 'othersalutation' allows user to insert multiple salutations as they want(textbox in html form)(coz just having one isn't enough) like 'Dato Sri Haji'; Dato Sri and Haji being 2 salutations.
so what i want to do is modify the above query like a conditional select like
select othersalutation if salutation = 'Other' else select salutation
something like that. there are alot of these kinda questions on the internet but coz mine is using a join as well to display data im not so sure how to put that into the query.
oh.sorry..its like this sir
SQLSTATE: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'DESCLIMIT 0,5' at line 1...
I would prefer iframes over the objects.
PS: A complete solution to this issue would be https://github.com/dereuromark/MediaEmbed which can extract the "host slug" and "id", stores those in the DB and completes the output HTML upon display (either as iframe - preferred - or as object fallback).