Jump to content

trq

Staff Alumni
  • Posts

    30,999
  • Joined

  • Last visited

  • Days Won

    26

Everything posted by trq

  1. the code within a function is only executed when it is called.
  2. You can. It ties your functions to the current project however, making them not at all portable across different projects.
  3. You mean field names? It seems stupid to pre-pend your fields with there table name. eg; If you have a table called 'Users', why do you need a field called 'Users_Name'? 'Name' is sufficient.
  4. Variables are not interpolated within single quotes. <?php echo $row["{$tab}_name"]?>
  5. $a = array(); while ($r = mysql_fetch_assoc($result_from_mysql_query)) { $a[] = $r; }
  6. Why are you naming all your fields prefixed with the table name? it makes no sense to do so.
  7. This topic has been moved to Other Libraries and Frameworks. http://www.phpfreaks.com/forums/index.php?topic=321807.0
  8. You shouldn't need to reference your table's name within the indexes of the array returned by mysqli_fetch_assoc. We need to see more code, including your query.
  9. 1: It's written in PHP so yes. 2: That is completely subjective. People with very little PHP knowledge can make sites using Drupal. Obviously though, the more you know, the more in-depth you will be able to go. 3: Drupal isn't exactly a framework. I'm not sure you can use it's components outside of Drupal.
  10. This topic has been moved to JavaScript Help. http://www.phpfreaks.com/forums/index.php?topic=321819.0
  11. It would still need installing on a server. Which is exactly the same as how subversion and git need to be installed if you want remote access. What do I think? It might be a fun project, but seriously, there is no way it would compete with git or subversion.
  12. Where exactly are you stuck? Do you understand how to make an Ajax request?
  13. They will be shown a diff, and will need to make the decision themselves about what stays and what goes. Until recently I had been a subversion user. Over the last few months though I have trialed and since moved all my repos into git. Subversion is probably the most popular still though git is quickly catching up. It's a little different in that it's a distributed system.
  14. How to click buttons and follow pretty simple instructions.
  15. The second person will get an error message saying that the file they are working on is out of date, they will then need to update it, which will in turn force them to merge the first persons changes into there own. [ot] Who the help uses CVS anymore? [/ot]
  16. This topic has been moved to Other Libraries and Frameworks. http://www.phpfreaks.com/forums/index.php?topic=321767.0
  17. MySql's password is not meant for public use. Its an internal function used by mysql itself.
  18. This topic has been moved to Application Design. http://www.phpfreaks.com/forums/index.php?topic=321638.0
  19. I'm not going to go into specifics, but I would suggest you Google 'semantic markup', and learn about what it is and how it is done. Your markup should describe your data, yours is all over the place.
  20. That's alright. Honestly though, your markup has plenty of room for improvement and would make this, and allot of other things in the future much easier to implement I'm sure. Not to mention making your code easier to maintain and more efficient.
×
×
  • 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.