Jump to content

MadTechie

Staff Alumni
  • Posts

    9,409
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by MadTechie

  1. Quick Example <?php echo "Hello "; echo MakeBold("World"); function MakeBold($foo) { $foo = "<b>".$foo."</b>"; return $foo; } ?> So when MakeBold is called the variable "World" is sent to the function.. the function does it stuff (add < b> to the starr and < /b> to the end) then returns the value back to where it was called from. make sense ?
  2. change <input name="textfield" type="password" size="6" maxlength="4"> to <input name="pw" type="password" size="6" maxlength="4"> or then please click solved!
  3. true even a frame set would work i have a site which has a menu and main frame set.. the URL never changes!
  4. OK, whats the problem with YOUR code ? we don't write the code for you, thats for the freelance section!
  5. try SELECT... WHERE postcode REGEXP "^$postcode" basically will find PostCodes that start with $postcode. or this should do the above SELECT... WHERE postcode REGEXP '^w+[\s0-9]+' Either way i hope that helps
  6. you checked file/folder permissions ? the W Open for writing only; place the file pointer at the beginning of the file and truncate the file to zero length. If the file does not exist, attempt to create it.
  7. your need to setup an index.php file with a Switch for the re-routing ie <?php switch($_GET['page']) { case "info": include "/yah/fol/info.php"; break; case "profile": include "/yah/fol/profile.php"; break; } ?> then use ?page=info or ?page=profile etc you get the idea
  8. Well theirs your problem them your printing to the screen.. you should read the pinned posts first!
  9. the problem is also related to header.html, can you post that (in code tags), or atleast the first 5 lines
  10. Why start another post ? you have this one (same issue)
  11. their at the top.. and in my signature and here
  12. as a guess echo $image['id']
  13. Breaking the rules.. TRIPLE posts are not allow.. my help ends here!
  14. OK.. lets play guess the error.. EDIT: Good luck break rules means i fail to help No TRIPLE POSTS
  15. add some error handlering $result = mysql_query ($query) or die(mysql_error());
  16. error ? what happends when you echo $query;
  17. the problem being ? trouble.. means what exactly it not displaying in a fuzzy green text.. what do you mean by trouble!
  18. try <?php session_start(); ?> instead of <?php session_start; ?>
  19. try // Report all PHP errors error_reporting(E_ALL); // Same as error_reporting(E_ALL); ini_set('error_reporting', E_ALL); session_start();
  20. all true i thought he wanted it visible to the page.. should of read twice! lol
  21. that means the sessions are holding nothing.. double check the start_session(); are you getting any errors ?/warnings
×
×
  • 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.