Search found 95 matches

by vincenzobar
Tue May 09, 2006 2:06 pm
Forum: PHP - Code
Topic: Job Opportunity-PHP MySQL, recent grad or up to 3yrs exp.
Replies: 2
Views: 359

45k in manhattan??? that is like 25k anywhere else besides DC or san fran!

I guess your looking for someone with 5 roomates or lives with mom and pop!

my company underpays everyone too! gotta love business!
by vincenzobar
Tue May 09, 2006 12:41 pm
Forum: PHP - Code
Topic: Can't get the database to update
Replies: 17
Views: 2850

Code: Select all

$query = "update homes set exterior name = '$i', home_name = '$hn',   category = '$c', year = '$y', berths = '$b', dimensions = '$d', axle = '$a', price = '$p', general_details = '$gn' where home_id = $home_id";
set exterior name should be exterior_name

no space
by vincenzobar
Tue May 09, 2006 12:38 pm
Forum: PHP - Code
Topic: mkdir cannot create a directory (linux Fedora Core 5)
Replies: 11
Views: 2445

Also you may not be able to do it from PHP. it depnds on the privileges you have set for your user. usually the server admin needs to do it or you have to do it from SSH or a admin panel. When i write a file the owner is usually www:username when it should be username:username and it is usually chmo...
by vincenzobar
Thu May 04, 2006 9:34 am
Forum: PHP - Code
Topic: Why won't my PHP work in HTML?
Replies: 9
Views: 716

ass mentioned above you have to allow HTM or HTML to read as php in your .htaccess file or in httpd.conf
Also make sure your server allows users to use htaccess in your httpd.conf

Code: Select all

Options +FollowSymLinks
RewriteEngine on
AddType application/x-httpd-php .html .htm

by vincenzobar
Thu May 04, 2006 9:12 am
Forum: PHP - Code
Topic: need help with loops, date, mySQL for archive display
Replies: 2
Views: 284

I did!!! maybe i disabled something rechecking it now!


edit...
i disabled BBCode... oops !
by vincenzobar
Thu May 04, 2006 9:07 am
Forum: PHP - Code
Topic: need help with loops, date, mySQL for archive display
Replies: 2
Views: 284

need help with loops, date, mySQL for archive display

Hi, I have a page that queries MySQL and gets all news articles and then will auto generate a page that will show recent articles and then pr the previous month back i need it to place relevant articles in the respective months, like an archive. ex: recent articles article 50 article 49 may 2006 art...
by vincenzobar
Fri Dec 23, 2005 8:22 am
Forum: PHP - Code
Topic: [Solved] Limit in MySQl statement not working
Replies: 2
Views: 303

That was it!!!!

I commented it out and it worked!!!

you da man!!!!
by vincenzobar
Thu Dec 22, 2005 7:17 pm
Forum: PHP - Code
Topic: [Solved] Limit in MySQl statement not working
Replies: 2
Views: 303

[Solved] Limit in MySQl statement not working

ok here is the code $order='ASC'; $numRows =5; if ($_SERVER['HTTP_CONNECTION']){ $limit = $numRows ; $query_id_rs = "SELECT id FROM textads WHERE visible='y' AND active='y' ORDER BY date_created ".$order." LIMIT ".$limit.""; $id_rs = mysql_query($query_id_rs, $db_connec...
by vincenzobar
Thu Dec 22, 2005 10:43 am
Forum: PHP - Code
Topic: check boxes PHP/MySQL
Replies: 1
Views: 495

nevermind... DUH Radio buttons!!!!

I need to get more sleep!
by vincenzobar
Thu Dec 22, 2005 9:45 am
Forum: PHP - Code
Topic: check boxes PHP/MySQL
Replies: 1
Views: 495

check boxes PHP/MySQL

hi all again, I re wrote my little app i got from a friend and now it is working unlike in my previous post. however I am adding a lot of goodies to my app and have run into a problem forms and check boxes... gotta love them ok here we go <br /><b>Visible</b><br /> <font size="1">Do you wa...
by vincenzobar
Wed Dec 21, 2005 2:20 pm
Forum: PHP - Code
Topic: Help with PHP Form
Replies: 6
Views: 367

That is what i thought!!! Thanks a bunch the code is screwey, a friend wrote it and it worked on his site but i guess i have to write my own for mine. oh well!


Thanks a bunch!
by vincenzobar
Wed Dec 21, 2005 1:29 pm
Forum: PHP - Code
Topic: Help with PHP Form
Replies: 6
Views: 367

I just gave you snippets of the code the code is actually like 200 lines long.

I was just showing the opening that the form should call to generate the correct page.

what fould go in the Form tag if action = Preview or Submit or Error?
by vincenzobar
Wed Dec 21, 2005 10:02 am
Forum: PHP - Code
Topic: Using .html pages to run .php
Replies: 15
Views: 863

last i heard google doesn't like IP changes!
by vincenzobar
Wed Dec 21, 2005 9:35 am
Forum: PHP - Code
Topic: Help with PHP Form
Replies: 6
Views: 367

Help with PHP Form

I have a form and code that calls errors to the same page but i can not figure out how to get it to show how do i write the action to refresh with the errors or continue. I tried this with no luck if (empty($form_data['date_start'])) $form_data['date_start'] = date("m/d/Y"); return '<form ...
by vincenzobar
Tue Dec 13, 2005 5:00 pm
Forum: PHP - Code
Topic: need help with MySQl Statement for insert
Replies: 3
Views: 407

Code: Select all

$email = mysql_real_escape_string($email);

$sql = "INSERT INTO ".$table." VALUES('', '$name', '$name2', '$email', '$zip', '$date')";
FINALLY!!!!

thanks for the inspiration!