Search found 5 matches

by iamalex
Wed Sep 01, 2010 12:44 pm
Forum: PHP - Code
Topic: write to database not working with upload image
Replies: 0
Views: 168

write to database not working with upload image

I am trying to write to database when image uploads. Image uploads but will not write to database. Code attached. Can someone help. On windows machine, localhost. Thks, Alex functions used below: class functions { protected static $table_name="users"; protected static $db_fields = array('i...
by iamalex
Fri Aug 27, 2010 12:05 pm
Forum: PHP - Code
Topic: DIRECTORY_SEPARATOR on windows correct path
Replies: 1
Views: 8326

DIRECTORY_SEPARATOR on windows correct path

Can someone please help with writing the path correctly using the DS so I can upload and write to file folder to the right place. I can't seem to get it to work. Thank you in advance ... Alex I am using localhost on windows machine. The path on my machine is: // C:\wamp/www/photo_gallery/public/imag...
by iamalex
Thu Aug 12, 2010 6:31 pm
Forum: PHP - Code
Topic: php essentials on lynda.com
Replies: 5
Views: 1338

Re: php essentials on lynda.com

This was the error. I moved that line but still something wrong as I open to new subject instead of edit page. Company too cheap to buy with code and some of pages don't show. If you can help anymore, appreciate. Getting error on this one"Parse error: parse error, expecting `','' or `';'' in G:...
by iamalex
Thu Aug 12, 2010 12:11 pm
Forum: PHP - Code
Topic: php essentials on lynda.com
Replies: 5
Views: 1338

Re: php essentials on lynda.com

No, I don't have access to files, just video and this section he goes a little fast for me.

my includes seem to be exactly as his. do you need me to post?

Thanks
by iamalex
Thu Aug 12, 2010 10:19 am
Forum: PHP - Code
Topic: php essentials on lynda.com
Replies: 5
Views: 1338

php essentials on lynda.com

I'm working on the course php essential on lynda.com and on the last item in the crud section and having problems with new_page, page_edit, getting parse error and won't go to edit page. Should be able to select sub menu ie. 'History' and then select "edit_page" link and go to that page wh...