If you look at the comment with the errors, it says that I have "Undefined Variables" in all but the drop-downs. So I googled that term and learned how to define those variables. The error stopped for the one line I tested it on, but the email I receive still doesn't have any submitted info in it.
then isn't the first half assigning a php name to the information pulled from the html? I'm good at html and css but I switched to WordPress fully about a decade ago. My long-term client just had his college-age daughter make a website and none of it works, so he dropped it in my lap and now here I am learning php to fix his site.
then isn't the first half assigning a php name to the information pulled from the html? I'm good at html and css but I switched to WordPress fully about a decade ago. My long-term client just had his college-age daughter make a website and none of it works, so he dropped it in my lap and now here I am learning php to fix his site.
PHP Notice: Undefined index: fname in /send_form_email.php on line 2
PHP Notice: Undefined index: lname in /send_form_email.php on line 3
PHP Notice: Undefined index: email in /send_form_email.php on line 4
PHP Notice: Undefined index: phone in /send_form_email.php on line 5
PHP Notice: Undefined index: other_position in /send_form_email.php on line 7
PHP Notice: Undefined index: years in /send_form_email.php on line 8
PHP Notice: Undefined variable: field_name in /send_form_email.php on line 12
______________________________________
I will be honest that I JUST noticed in the error log (as I was typing this) that after making the changes in the code for the first name variable something new happened. The line 2 fname error is now gone, and the changes are very obvious to see in my code.
However the main symptom still exists: the email which I receive as a result of this form comes in empty. The field names exist in the body but the inputted information is blank, with the exception of the drop-down menus. I must say, even after noticing that the fname error is no longer occurring the fname field entry still comes up blank.
Have you run into any issues with older media holding you back after updating? I've looked at changing these links and also the files themselves but it all looks up to date.
It is placed so that the blue field (where the pole would be located) is facing to the front. It's no different than being on the other side of a flag than you are used to when it is moving forward in a parade.
To get the effect you are thinking of, we would need to sew a flag to the backside of another flag when they are moving forward. It would then become disrespectful to the flag and country, because the pole would be hooked to the stripes only while the stars and blue field hung down limp.
To be honest, I just assumed it was above my level but I've spent ton of time over the last few years modifying sites, so maybe I should look into that.
It's like the missing piece. I build nice pretty simple sites with html and css because I'm a pen and ink illustrator, but this client is just an occasional client who comes around to have quick and dirty wordpress sites bashed out. Setting them up is easy, but in this case I'm taking over for another dev who had this paid theme and I'm just starting to understand php. This is probably a scenario which will repeat so knowing how to make sure my css changes affect the actual page is paramount!
Thanks. I'm going to print that hierarchy out and stick it on the wall.
Yeah, it's like a spiderweb. There's nothing to grab onto, it's all just little call up documents. Nuts.
So say I can drop a widget into the page in the right place (got it last night) but I want to disable the css formatting for that specific div box.
How do I change the div tags? Am I going to isolate a php document and remove/replace an if/than statement? I'm an illustrator, I don't know how I keep getting these jobs.
THIS IS FIXED! I FIGURED IT OUT TODAY! I THINK IT WAS LITERALLY JUST A MISSING PERIOD BETWEEN STATEMENTS.
This still isn't working but it has been changed a lot.
php here: https://pastebin.com/8iiS4jzc
and the html here: https://pastebin.com/iyPaxAdH
Thank you. Does $value have to be the same as 'my-input' ?
$field_fname = isset($_POST['firstname']) ? $_POST['fname'] : ''; $field_fname = !empty($_POST['firstname']) ? $_POST['fname'] : '';
Am I doing this right?
The error lines are in a separate comment. Here is an image of the markup: https://imgur.com/psFygFJ
If you look at the comment with the errors, it says that I have "Undefined Variables" in all but the drop-downs. So I googled that term and learned how to define those variables. The error stopped for the one line I tested it on, but the email I receive still doesn't have any submitted info in it.
If
$field_first_name = $_POST('fname');
then isn't the first half assigning a php name to the information pulled from the html? I'm good at html and css but I switched to WordPress fully about a decade ago. My long-term client just had his college-age daughter make a website and none of it works, so he dropped it in my lap and now here I am learning php to fix his site.
If
$field_first_name = $_POST('fname');
then isn't the first half assigning a php name to the information pulled from the html? I'm good at html and css but I switched to WordPress fully about a decade ago. My long-term client just had his college-age daughter make a website and none of it works, so he dropped it in my lap and now here I am learning php to fix his site.
How did it work?
How can I google help for this? I'm teaching myself php now.
The error lines are in a separate comment. Here is an image of the markup: https://imgur.com/psFygFJ
The error lines are in a separate comment.
Here is an image of the markup:
https://imgur.com/psFygFJ
Here are the errors I am receiving:
PHP Notice: Undefined index: fname in /send_form_email.php on line 2
PHP Notice: Undefined index: lname in /send_form_email.php on line 3
PHP Notice: Undefined index: email in /send_form_email.php on line 4
PHP Notice: Undefined index: phone in /send_form_email.php on line 5
PHP Notice: Undefined index: other_position in /send_form_email.php on line 7
PHP Notice: Undefined index: years in /send_form_email.php on line 8
PHP Notice: Undefined variable: field_name in /send_form_email.php on line 12
______________________________________
I will be honest that I JUST noticed in the error log (as I was typing this) that after making the changes in the code for the first name variable something new happened. The line 2 fname error is now gone, and the changes are very obvious to see in my code.
However the main symptom still exists: the email which I receive as a result of this form comes in empty. The field names exist in the body but the inputted information is blank, with the exception of the drop-down menus. I must say, even after noticing that the fname error is no longer occurring the fname field entry still comes up blank.
Am I missing something obvious?
Thanks!
Have you run into any issues with older media holding you back after updating? I've looked at changing these links and also the files themselves but it all looks up to date.
https://www.reddit.com/r/Wordpress/comments/7tmnrr/https_secure_site_error_due_to_images/
Using a Search and Replace plugin I think I narrowed it down to a file called wp_ofey_options
It seems like it is maybe in wp_ofey_options (?) but there is not a filetype given.
It is placed so that the blue field (where the pole would be located) is facing to the front. It's no different than being on the other side of a flag than you are used to when it is moving forward in a parade.
To get the effect you are thinking of, we would need to sew a flag to the backside of another flag when they are moving forward. It would then become disrespectful to the flag and country, because the pole would be hooked to the stripes only while the stars and blue field hung down limp.
I just tried it and Beaver Builder seems to run my whole bandwidth and memory usage to 100% crashing the site, regularly.
...so when you leap off you collide into each other? Or you just collide every time you descent?
To be honest, I just assumed it was above my level but I've spent ton of time over the last few years modifying sites, so maybe I should look into that.
I guess my main focus is making it a slider and it seems like I need to use html for that. I can totally use css for the size.
That does help, it helps a lot.
It's like the missing piece. I build nice pretty simple sites with html and css because I'm a pen and ink illustrator, but this client is just an occasional client who comes around to have quick and dirty wordpress sites bashed out. Setting them up is easy, but in this case I'm taking over for another dev who had this paid theme and I'm just starting to understand php. This is probably a scenario which will repeat so knowing how to make sure my css changes affect the actual page is paramount!
Thanks. I'm going to print that hierarchy out and stick it on the wall.
Yeah, it's like a spiderweb. There's nothing to grab onto, it's all just little call up documents. Nuts.
So say I can drop a widget into the page in the right place (got it last night) but I want to disable the css formatting for that specific div box.
How do I change the div tags? Am I going to isolate a php document and remove/replace an if/than statement? I'm an illustrator, I don't know how I keep getting these jobs.