Jump to content

trq

Staff Alumni
  • Posts

    30,999
  • Joined

  • Last visited

  • Days Won

    26

Everything posted by trq

  1. This topic has been moved to HTML Help. http://www.phpfreaks.com/forums/index.php?topic=317537.0
  2. You don't need to create a new ul considering its already there. Just replace your <li>'s with the new data. ps: Your can use var li = $('<li></li>'); to create a new li element in jQuery.
  3. echo $result->loginResult->MobiRegUserID; echo $result->loginResult->MobiRegUserName;
  4. trq

    eregi()

    eregi has long been deprecated.
  5. Put it in your .bashrc file. this file should be within your home directory. Then, logout and bake in. mysql & mysqladmin should then be on your PATH and you will be able to simply execute them without having to type the full filepath. I'm a bit suss on your installation method as all of this should normally be taken care of already. I'm not a mac user though (I use GNU/Linux).
  6. You should add /usr/local/mysql/bin to your path. This can be done within your ~/.bashrc file export PATH=${PATH}:/usr/local/mysql/bin
  7. There's not a great deal around written in PHP (I'm in the process of writing my own but it'll be a few weeks away yet see my github link in my sig). There's a good list here: http://en.wikipedia.org/wiki/Comparison_of_issue_tracking_systems Out of the PHP ones, Ive used flyspray. It's ok, but doesn't have workflows so it's not much good to me. I currently use the proprietary Jira, but it's written in Java and is incredibly resource hungry.
  8. /usr/local/mysql/bin/mysqladmin -u root password "newpwd"
  9. The logic is the same across languages, where exactly are you stuck?
  10. create is not a bash command. Your getting pretty confused about what should be executed from bash and what needs to be executed from within mysql.
  11. You probably can't get mysqladmin to work because its not on your execution path for whatever reason. Same as mysql wasn't on your execution path. Have you tried using the full path to the executable? /usr/local/mysql/bin/mysqladmin
  12. $Mysqli->affected_rows works with INSERT, UPDATE, REPLACE or DELETE queries only.
  13. There is a link in my signature to a free book (Hudzilla). It has entire chapters dedicated to using databases and handling forms.
  14. Can you echo your query to see what the database is actually getting?
  15. This topic has been moved to Miscellaneous. http://www.phpfreaks.com/forums/index.php?topic=317465.0
  16. This topic has been moved to Miscellaneous. http://www.phpfreaks.com/forums/index.php?topic=317497.0
  17. This topic has been moved to Application Frameworks. http://www.phpfreaks.com/forums/index.php?topic=317468.0
  18. I don't see where you actually create $result (which by the way should be passed to your function as an argument, using globals defeats the entire purpose of functions).
  19. Also, mysqladmin is a terminal command, not a mysql one. This means it will work at your Bash prompt not the mysql one.
  20. There are various php encoders around, none of them are free and they need to be available on the server the scripts are executing on. Your much better off just getting yourself a good license.
  21. == is the comparison operator not = if ($go = $fetch_value[scode]){ should be.... if ($go == $fetch_value['scode']) {
  22. Are you positive? Overlays give the impression of a new window without actually being one. For this reason they are not blocked by pop-up blockers. Otherwise, your just going to have to live with the pop-up blockers I'm afraid. People have them on for a reason, they don't want pop-ups.
  23. There not called pop-up blockers for nothing. You would be better off using an overlay rather than opening a new page.
×
×
  • 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.