Jump to content

suzzane2020

Members
  • Posts

    233
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

suzzane2020's Achievements

Member

Member (2/5)

0

Reputation

  1. It would be better to have a separate class for the connection and queries. You have created the $db object for the connection class correctly. So for the second class which will contain all the functions for a query create an object like this: $query =new Db_mysql_statement();
  2. The object $query-> has not been created to access the functions in class Db_mysql_statement
  3. What exactly is this section of code supposed to do? //first, find out which set it's in if($i < count($setOne)){ $set_num = '1'; $temp_set_array = $setOne; $count = $i; } if(($i >= count($setOne)) && ($i < (count($setOne) + count($set_Two)))){ $set_num = '2'; $temp_set_array = $set_Two; $count = $i - count($setOne); } if($i >= (count($setOne) + count($set_Two))){ $set_num = 'e'; $temp_set_array = $encore; $count = $i - count($setOne) - count($set_Two); } If you are trying to display the file paths , wont it be a better option to allow the user to select the file they want to upload? you can provide an option to upload multiple files at a time.
  4. Did you check if the values are available in the second page? btw the band value is not being called in the else part else{ //If not, assign other variables $year = $_POST['year']; $month = $_POST['month']; $day = $_POST['day']; $date = create_date($year, $month, $day); $setOne = $_POST['setOne']; $set_Two = $_POST['setTwo']; $encore = $_POST['encore']; }
  5. where are the variable values assigned?. I dont see them in the code.
  6. Which form are you using to get the other variables if $_POST is not set?
  7. On second thought. nope. what ur doing is absolutely fine.
  8. check if its geting in the if loop (im sure u wud have done that) and if it is just try changing the way the values are passed.eg: <input type="hidden" name="name" value="<?php echo $value;?>"> echo them in the elements. I had a similar problem before.
  9. I guess its this part: if($_POST && $_POST['submit'] == 'Submit'){ it should be if (($_POST)&&($_POST['submit']=='Submit')) { }
  10. Guys please, If you have not not worked on this please let me know.
  11. Hi , I have a problem with the google contacts API. Iam using php functions to sent HTTP requests. I keep getting the error 'Bad Request' Would be grateful if someone could throw some light. Thank You, suzzane
  12. Hi , I have a problem with the google contacts API. Iam using php functions to sent HTTP requests. I keep getting the error 'Bad Request' Would be grateful if someone could throw some light. Thank You, suzzane
  13. Hi, I have a doubt on google data API. Would there be a section to post that. I went through all the sections but got confused. Please help! thank you
  14. could anyone tell me where to post a question about amazon payment. Iam a php coder and use amazon payment service as my payment gateway. I have posted the issue in the amazon site but dint get the response I wanted. I just wanted to know if anyone here has worked on this before? ** plz dont mind that i posted this here. I just dint have a clue where to!!!
×
×
  • 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.