Jump to content

sdi126

Members
  • Posts

    52
  • Joined

  • Last visited

Contact Methods

  • Website URL
    https://arizonawebdevelopment.com

Profile Information

  • Gender
    Not Telling

sdi126's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. @Aravinthan...why would you want to put quotes around variables? --------------------------------------- In your php code at the top of the page it is missing the line termination symbol of semi-colon--------> ; * Your page code be crashing... a lot of hosting companies turn off errors for some reason???? Your code should be: <?php $FullPallet=$_GET["FullPallet"]; $QuarterPallet=$_GET["QuarterPallet"]; $DeliveryType=$_GET["DeliveryType"]; $DeliveryFrom=$_GET["DeliveryFrom"]; $DeliveryTo=$_GET["DeliveryTo"]; ?> other than that your code looks correct...what is the page doing exactly...does it print the text but just not the variable values?
  2. SELECT * FROM media_cat WHERE substring(name,1,1) in(0,1,2,3,4,5,6,7,8,9) ORDER BY name ASC
  3. It doesn't work because multipart/x-rar is not a valid "MIME" type. I think it should be "application/x-rar-compressed" I was just saying on the upload code to print out what it is so you know for sure
  4. I would echo out the file type: $_FILES["file"]["type"]; Once you know the type you can add it to your list
  5. yea clicking a topic looks the same as the home page...must be because at my work we have some crazy proxy server ( the page must be cached from when it looked correctly at one point )...
  6. what is the link to the page that is messed up...it isn't www.thesidetracked.com is it???? that page doesn't look to have HUGE font to me?
  7. And this is the entire contents of the file "process.php"? It doesn't even go to line 118? Regardless of the file though...im not sure I have ever seen concatenation >> to an if statement >> to an echo statement ( don't think that is valid syntax...)
  8. the best solution would be to limit the data returned from your mysql query have you tried using the keyword 'DISTINCT' in your query...just before the column 'gm_date'?
  9. The end of that line represents the actual text the user will see in the drop down list. So if you did this: <option value="3-Week" <?php if (!(strcmp("2-Week", KT_escapeAttribute($row_rstblapplication['ProgrammeName'])))) {echo "SELECTED";} ?>>2-Week</option> the user would see "2-Week" as an option to select in the drop down but the value behind it that would be used by your program would be "3-Week"
  10. It looks like you have an extra single quote after the $link variable...you have double single quotes which is not what you want...you just need one.
  11. yea...i hate it...but what can i do...im just one disgruntled employee
  12. sorry...Maq your right...im @ work now...we are strictly ASP.NET (c#) which is the mode i am in now.
  13. both posts make valid points...no need for two loops foreach ($arr as $value) { //your code here } also option is being overwritten each time in the loop...use += $option += '<option name="'.$arr.'" value="'.$arr.'">'.$arr.'</option>';
  14. You are correct that a div is not a valid form element...which is why PHP can't pick up the posted value from a div. You can still display the text in a div...but you might also want to put it to a hidden form element. <input type="hidden" name="someName" value="theSameStuffThatIsInTheDiv" />
  15. I'm confused...your talking about arrays and also writing to files ??? But like MadTechie stated using the "a" option in the fopen function appends data...the "end of file" your asking about means add data to the end of the file your writing to...its not talking about adding code to your "file" ( the php page at the end)
×
×
  • 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.