/dev/chat

General discussion for unix.stackexchange.com. If you have a q...
Jan 17, 2014 15:26
nvm. found the *nix forum. :D
Jan 17, 2014 15:22
is this the right room to ask a bash_profile question?
Jan 16, 2014 18:23
hi all. trying to create a simple alias in my bash_profile. keep getting an error. i put this line in my profile alias htdoc=“cd /Applications/MAMP/htdocs/“. i refresh it with source ~/.bash_profile. in response i get -bash: alias: /Applications/MAMP/htdocs/“: not found is my syntax wrong?
 
Jan 16, 2014 15:24
yes. i forgot about orms. i've been away from php for quite a few months. so this is a good refresher
Jan 16, 2014 15:23
thanks for the pointers. was kinda flailing around saying wtf wtf. lolol. now i have some reading to do. thx
Jan 16, 2014 15:21
err, mainly
Jan 16, 2014 15:21
@Ampt no, maining php and javascript
Jan 16, 2014 15:20
that's cool. only java i know is in my cup on the desk. :P
Jan 16, 2014 15:19
I'm using PDO now which helps with many different issues like abstraction and preventing sql injection stuff.
Jan 16, 2014 15:17
i don't think so. could be wrong. @MichaelT that may be what i'm looking for. the whole "well, we might want a different db" thing has my knickers in a twist.
Jan 16, 2014 15:14
can someone suggest a resource for technical design brainstorming? i'm building a reporting dashboard in php w/ mysql. don't think i want to use stored procedures for queries b/c the db might be changed. i just want to have parameterized queries available for the dashboard UI designer. not sure how to approach this for a solution.