Search found 720 matches

by hyper
Sun Sep 02, 2018 7:09 am
Forum: PHP coding => Images
Topic: Imagick class / method problems
Replies: 1
Views: 264

Re: Imagick class / method problems

do I have a REALLY old Imagick install on my hosting company's server?
Try phpinfo or or try looking here then look at Imagicks website to see what the latest version is and then maybe also check out WPs version information.

If all else fails: try here; it didn't work for me though.
by hyper
Mon Aug 13, 2018 9:16 am
Forum: PHP coding => General
Topic: override div in extended class
Replies: 2
Views: 147

Re: override div in extended class

Just show an itemised bill using a well designed display, i.e. items, sub total (maybe), post, tax and total; it gets too confusing otherwise.
by hyper
Tue Aug 07, 2018 7:31 am
Forum: mySQL & php coding
Topic: connecting to my database
Replies: 4
Views: 185

Re: connecting to my database

What errors are you getting?
by hyper
Sat Aug 04, 2018 3:05 am
Forum: PHP General
Topic: [HELP] I want to make 1 php registration site
Replies: 1
Views: 128

Re: [HELP] I want to make 1 php registration site

That's very nice and thoughtful of you, start here good luck :D
by hyper
Sat Aug 04, 2018 2:59 am
Forum: PHP coding => Images
Topic: thumbnails
Replies: 1
Views: 160

Re: thumbnails

Have you looked in your thumbs directory to see that you have created one successfully? Your test: if(file_exists("./thumbs/{$image}")) to see if the file exists will still try to output a link to the image that you are trying to display, is this supposed to do something else? chdir("uploads"); This...
by hyper
Mon Jul 30, 2018 10:11 am
Forum: PHP General
Topic: php and html
Replies: 2
Views: 150

Re: php and html

Your code needs to be in the correct folder and will probably need the .php extension.

You should have received instructions when you loaded your server software (apache?) where to put your files.
by hyper
Wed Jul 25, 2018 2:38 pm
Forum: PHP coding => General
Topic: == not working
Replies: 4
Views: 222

Re: == not working

Do you have error messages on display? if so what errors are you getting, if not - turn them on and see what messages you get.

Are you entering "vivek" in lower case?

Is your form method post?
by hyper
Sun Jul 22, 2018 3:25 pm
Forum: PHP Installation
Topic: Can't access php forums after installing WordPress and Deprecated error
Replies: 1
Views: 135

Re: Can't access php forums after installing WordPress and Deprecated error

Stop displaying error messages (in your php.ini file) and make the changes to your code before the deprecated code stops your site working altogether.
by hyper
Sun Jul 22, 2018 3:19 pm
Forum: PHP coding => General
Topic: Parse Error
Replies: 4
Views: 178

Re: Parse Error

by hyper
Sun Jul 22, 2018 2:10 am
Forum: PHP coding => General
Topic: Parse Error
Replies: 4
Views: 178

Re: Parse Error

This is probably the line that's giving the problem:

Code: Select all

  public function weight_kg() {
    return number_format($this->weight_kg, 2) . ' kg';
  }
It would be helpful to post the whole error message which includes the line number and normally the variable that it's referring to.
by hyper
Sat Jul 21, 2018 8:07 am
Forum: PHP coding => General
Topic: sending data from one page to other
Replies: 3
Views: 159

Re: sending data from one page to other

Try using <button>
by hyper
Mon Jul 02, 2018 8:33 am
Forum: JavaScript
Topic: Populate multiple fields by checkbox
Replies: 4
Views: 219

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: 219

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: 184

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: 339

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: 184

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: 242

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: 159

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: 339

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: 145

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: 339

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: 222

Re: Multidimensional array

The first listing is incorrect for PHP, I think that you're correct that the second listing is what was intended.