Jump to content

trq

Staff Alumni
  • Posts

    30,999
  • Joined

  • Last visited

  • Days Won

    26

Everything posted by trq

  1. Sorry, but that is not the case. Data is returned from functions so it can be used outside of that function. Simple.
  2. This topic has been moved to Other. http://www.phpfreaks.com/forums/index.php?topic=355598.0
  3. You might want to at least narrow your problem down to something more specific. Dumping a bunch of code with a "this doesn't work" won't generally get you very far.
  4. Assuming you want all the functionality as well, search for a WYSIWYG editor. There are plenty around.
  5. This topic has been moved to Other Libraries and Frameworks. http://www.phpfreaks.com/forums/index.php?topic=355580.0
  6. That is all well and good except there is no object in your example.
  7. PHP just provides an interface to COM, your question would be better asked on some Word specific board.
  8. Your checking for the string 'value' in all of your comparisons.
  9. Make sure you have error reporting turned on, you have a syntax error. This line: $emailfrom="footloose.sa@gmail.com; is missing a quote.
  10. This topic has been moved to Application Frameworks. http://www.phpfreaks.com/forums/index.php?topic=355562.0
  11. This topic has been moved to HTML Help. http://www.phpfreaks.com/forums/index.php?topic=355495.0
  12. This topic has been moved to PHP Applications. http://www.phpfreaks.com/forums/index.php?topic=355485.0
  13. rc will be a long way aways. I'm hoping to get to beta by July (ish). This is a complete rewrite to the last stuff you would have looked at I think. The current incarnation was only started in early December. I'm hoping to get to rc by Sept maybe.
  14. Why do you want to duplicate data in your database? This generally flies in the face of good design.
  15. Put your header and footer code in there own files then use include to include them.
  16. There is probably a reason it is hidden, what license is this software under?
  17. This could also be written a lot cleaner by using a loop, but that's a php issue.
  18. Post the outputed JavaScript rather than the php that creates it.
  19. return str_replace( $more_link_text, '<img src="somimage.jpg">', $more_link );
  20. eww. I don't think contos has a package for that. You'll need to install it via pear. Something like: Make sure you have pear and any dependencies installed. sudo yum install php-pear sudo yum install php-devel sudo yum install httpd-devel Install apc sudo pecl install apc Add the extension to php's configuration echo "extension=apc.so" | sudo tee -a /etc/php.d/apc.ini Restart apache sudo /etc/init.d/httpd start You might want to do a google search for a guide but that should pretty much cover it.
  21. Surely the table is designed to hold properties. Properties have a set number of bedrooms, so the table structure you have is correct. You would then need to select properties that fall into your min max range within your query. eg; SELECT * FROM properties WHERE number_of_bedrooms >= $min and number_of_bedrooms <= $max Also, fix your filed names so that they don't contain spaces.
×
×
  • 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.