Jump to content

gw1500se

Members
  • Posts

    936
  • Joined

  • Last visited

  • Days Won

    15

gw1500se last won the day on November 1 2021

gw1500se had the most liked content!

4 Followers

Profile Information

  • Location
    Georgia, USA

Contact Methods

  • Skype
    gw1500se

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

gw1500se's Achievements

Prolific Member

Prolific Member (5/5)

74

Reputation

3

Community Answers

  1. This should be a simple query update. What have you tried and what doesn't work as expected? Please show the code you tried (be sure to use the code icon (<>) at the top of the menu and specify PHP for your code) along with any errors or any difference between what you get and what you expect.
  2. First please use the code icon (<>) at the top of the menu for your code and select PHP. It is not clear what you are asking. If you want the records whether of not they have the word then why is that phrase in the query? If I understand, you can check the resulting records for the word in the subject and if missing, output a zero.
  3. Do the validation with JavaScript and if OK then submit the form. Keep in mind that PHP is stateless and server side only. Once PHP outputs the page, it forgets everything and the next submit is new as far as PHP is concerned. You should re-validate with PHP in case hackers are trying to penetrate your server, in which case simply output an error page. It is more user friendly to validate with JavaScript so the user does not have to wait on the server.
  4. Did you echo $original_name to make sure it contains what you expect (you didn't show how you built it)? Do you have errors turned on? error_reporting(E_All)
  5. Did you print $ballInformation just before the execute to make sure it contains what you think?
  6. It goes in your python code. Rather than just print the data, you need to also print the other HTML tags.
  7. You have to output a fully formed HTML page from your script. Meaning all the required tags for any HTML page (<HTML>, <HEAD>, <BODY>, etc.).
  8. So what is your question or error message?
  9. First of all you have way too many unnecessary <?PHP and ?>. You have retrieved your data from the database but never use that result anywhere. All you need to do is create a string formatted with the data so it says what you want and put it in the body. Am I missing something? P.S. Don't use '*' in your select query. Specify only those columns you will actually use.
  10. Looks like you already did that. Perhaps you need to better explain what you are trying to do and post some actual code. Also, when you post code use the code icon (<>) in the top menu and specify PHP.
  11. Kindly post some code. Be sure to use the code icon (<>) in the top menu and specify PHP.
  12. As you can see $_POST does not contain what you expect. Now you have to figure out why.
  13. Looks like $_POST does not contain what you think. Before the 'if' block use this: echo "<pre>"; print_r($_POST); echo "</pre>";
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.