Search found 708 matches

by hyper
Mon Jul 02, 2018 8:33 am
Forum: JavaScript
Topic: Populate multiple fields by checkbox
Replies: 4
Views: 66

Re: Populate multiple fields by checkbox

If you must do it the way you have stated, then you are making hard work for yourself. What would be wrong with the following? <form method="post" id="invoices" action="process_invoices.php"> <fieldset> <legend>Select invoices you want to pay</legend> <input type="checkbox" id="iv01" name="iv01" val...
by hyper
Sun Jul 01, 2018 1:26 pm
Forum: JavaScript
Topic: Populate multiple fields by checkbox
Replies: 4
Views: 66

Re: Populate multiple fields by checkbox

How do I do this??
I'm wondering why you would want to put all the details in hidden fields???

Simply process the details server side, and if you want to have a total for the user to see - use a visible form, otherwise there's no need.

Do not rely on client supplied data as it can be faked.
by hyper
Thu Jun 28, 2018 3:10 pm
Forum: PHP General
Topic: SendGrid
Replies: 4
Views: 81

Re: SendGrid

Follow the installation and usage instructions.
by hyper
Thu Jun 28, 2018 3:08 pm
Forum: PHP coding => Images
Topic: Display error message on website page
Replies: 8
Views: 139

Re: Display error message on website page

But, it caused a lot of syntax errors. Can you lead me a little further? Fix the syntax errors and learn from the experience, forms can get quite complex to deal with, you might be better off taking a step back and looking at the basics of PHP before you try to tackle something which can destroy yo...
by hyper
Thu Jun 28, 2018 12:55 pm
Forum: PHP General
Topic: SendGrid
Replies: 4
Views: 81

Re: SendGrid

Class 'SendGrid\Email' not found.
PHP cannot find the requested class, check the path to it.
by hyper
Thu Jun 28, 2018 12:50 pm
Forum: PHP coding => General
Topic: help on code to debug
Replies: 5
Views: 111

Re: help on code to debug

it supposed to be displaying the "your mood is ...". and it is not.
What does it do correctly?

What error messages are you getting?
by hyper
Wed Jun 27, 2018 2:17 pm
Forum: PHP coding => General
Topic: Add Custom Close Button in the popup screen
Replies: 1
Views: 52

Re: Add Custom Close Button in the popup screen

I presume it's JavaScript? Try their web site.
by hyper
Tue Jun 26, 2018 6:46 pm
Forum: PHP coding => Images
Topic: Display error message on website page
Replies: 8
Views: 139

Re: Display error message on website page

Won't that cause the message to display on a new window?
Why would it?

Try it, see what happens!
by hyper
Tue Jun 26, 2018 1:47 pm
Forum: PHP coding => General
Topic: feedback form keywords blacklist
Replies: 1
Views: 44

Re: feedback form keywords blacklist

Put your keywords in an array and use a built in array search function, I'm sure you can work out how to do a case insensitive search.
by hyper
Tue Jun 26, 2018 1:40 pm
Forum: PHP coding => Images
Topic: Display error message on website page
Replies: 8
Views: 139

Re: Display error message on website page

Put your echo statement after the button(s)
by hyper
Fri Jun 22, 2018 10:51 am
Forum: PHP coding => General
Topic: Multidimensional array
Replies: 3
Views: 109

Re: Multidimensional array

The first listing is incorrect for PHP, I think that you're correct that the second listing is what was intended.
by hyper
Fri Jun 22, 2018 12:58 am
Forum: PHP coding => General
Topic: Code Editor
Replies: 2
Views: 62

Re: Code Editor

Also i was wondering why is it that every time i create a new project in netbeans 8.0.2 it opens every project in the directory? Because you told it to when you opened the project; that's how IDEs they work by reading all the files in the chosen directory and below; select only the project folder (...
by hyper
Sun Jun 03, 2018 5:20 am
Forum: PHP coding => General
Topic: Form to sending emails with file attachment - problem
Replies: 4
Views: 205

Re: Form to sending emails with file attachment - problem

On form submission, your script attempts to send the email even where validation errors have occurred. To debug, I would take out the file uploading until you have the basics worked out. Your function comments out the return: #return $form_data; I have to ask: $toEmail = some@email.com I presume is ...
by hyper
Sat Jun 02, 2018 11:59 am
Forum: PHP coding => General
Topic: Form to sending emails with file attachment - problem
Replies: 4
Views: 205

Re: Form to sending emails with file attachment - problem

What looks to be working? (what is it doing?)

What PHP error messages are you getting?
by hyper
Mon May 28, 2018 8:02 am
Forum: PHP coding => General
Topic: php post array process non-input text references
Replies: 5
Views: 227

Re: php post array process non-input text references

This raises havoc with my css grid forcing a null column (thus screwing up my justify-content), but appears to be the least painful. And, alas, it does require repeating my database query after the post. Don't put the hidden field in a span tag, the input maybe hidden, but the span isn't. This is a...
by hyper
Mon May 28, 2018 2:39 am
Forum: PHP General
Topic: session value at any moment
Replies: 5
Views: 262

Re: session value at any moment

You only need to follow the link that I provided.

If you explain what you are trying to do, we might be able to help more.
by hyper
Mon May 28, 2018 2:34 am
Forum: PHP coding => General
Topic: php post array process non-input text references
Replies: 5
Views: 227

Re: php post array process non-input text references

In that case, create a temporary holding area for the information until all of the information is available to generate the invoice. An invoice should be final, any amendments to it should only be using other documents (credits etc..) I wouldn't / haven't / don't generate an invoice until I have all...
by hyper
Sat May 26, 2018 7:24 am
Forum: PHP coding => General
Topic: php post array process non-input text references
Replies: 5
Views: 227

Re: php post array process non-input text references

I cannot assume the database table will remain unchanged, so repeating the query is not an option creating and unenable-ing form input array fields on the row to hold the key information seems awkward, rendering an array to $_SESSION for this purpose appears to be the best of the bad options Are al...
by hyper
Wed May 23, 2018 3:17 pm
Forum: PHP coding => General
Topic: custom wordpress plugin code
Replies: 3
Views: 155

Re: custom wordpress plugin code

It looks to be JQuery script which is why you got an error trying to parse it as PHP.

What did the instructions that came with the script tell you to do?
by hyper
Mon May 21, 2018 12:39 pm
Forum: PHP General
Topic: session value at any moment
Replies: 5
Views: 262

Re: session value at any moment

It's an online manual
by hyper
Sun May 20, 2018 1:20 am
Forum: PHP coding => General
Topic: auto increment value inserted to two db tables
Replies: 6
Views: 220

Re: auto increment value inserted to two db tables

Look at your data: you have duplicated username and password in both tables you have contact information in the repairs table you already have a memberID, use that to get your data is customer_ref for your information or their information? could you have different technicians working on different or...
by hyper
Sat May 19, 2018 12:07 pm
Forum: PHP coding => General
Topic: auto increment value inserted to two db tables
Replies: 6
Views: 220

Re: auto increment value inserted to two db tables

I think that you're trying to do too much in one go, have you created the database and tables?

I think that you'll a few more tables and look a bit more in depth at your data requirements.