Forum: PHP Jul 29th, 2009 |
| Replies: 2 Views: 237 that's good catch. Thanks much |
Forum: PHP Jul 29th, 2009 |
| Replies: 2 Views: 237 hi,
if i left a field blank in my table. when i tried to retrieve all the info out to the form. the text box supposed to have blank (because the corresponding field in the table is blank)... |
Forum: PHP Jul 25th, 2009 |
| Replies: 6 Views: 255 still don't know why, but it magically works now with $street= $cResult[3]
and echo "$cResult[3]" return "132 main street"
..... thanks everyone tried to help. |
Forum: PHP Jul 24th, 2009 |
| Replies: 6 Views: 255 nope, no strange characters. the field is long enough and the street i inserted "132 main street" was already stored in the table.
but it is weird that [code] echo "$cResult[3]" returns me only... |
Forum: PHP Jul 24th, 2009 |
| Replies: 6 Views: 255 i will try again later but i think i already tried that and didn't work. |
Forum: PHP Jul 24th, 2009 |
| Replies: 6 Views: 255 hi, i selected everything from the table and the direct variable $cResult[3] would give me something like "street address with space as delimiter" ... however, when i tried to use it, it will give me... |
Forum: PHP Jul 21st, 2009 |
| Replies: 6 Views: 278 |
Forum: PHP Jul 21st, 2009 |
| Replies: 6 Views: 278 huh, thanks for your help. that was a good guess. i got 2 database and i connected to the wrong one. = P
thanks a ton |
Forum: PHP Jul 21st, 2009 |
| Replies: 6 Views: 278 people commented that the codes are working. however in my case, it is not working. i tested it that it is connected to the database successfully. and that line of select statement looks right to me.... |
Forum: PHP Jul 21st, 2009 |
| Replies: 6 Views: 278 i just downloaded a login script and the code below is the php backend for the login. It is originally using md5 encryption and decryption for the password. For some reason I want to manage the... |
Forum: PHP Feb 5th, 2009 |
| Replies: 3 Views: 507 yes, i saved it as index.php...this is weird. i just save a text doc with code below index.php
<?php
echo "hi";
?>
and it wouldn't work... i had done more php than this ,, i can't figure it... |
Forum: PHP Feb 5th, 2009 |
| Replies: 3 Views: 507 i don't know why my php code within the <html> doesn't work at all.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">... |
Forum: PHP Feb 5th, 2009 |
| Replies: 8 Views: 1,507 yes, i am picking up php little by little. i used php mainly for sending form data to mySQL. now i am trying to learn the login. for now, simply i have my username and password inserted to mySQL, and... |
Forum: PHP Feb 4th, 2009 |
| Replies: 8 Views: 1,507 hi,
does anyone know a secure way to login to another page with username and password. i found numerous on google but i don't know which one is good. if anyone has any good source codes please... |
Forum: PHP Nov 8th, 2008 |
| Replies: 4 Views: 595 jackakos,
your scenario is absolutely what I am working on. However, since pid is auto_increment, i don't need the user to input the pid but pid will automatically be inserted. That is where... |
Forum: PHP Nov 8th, 2008 |
| Replies: 4 Views: 595 hi,
if i have a db:
person> pID (not null, auto_increment), lastname, firstname
phone>pID (not null), phoneNum, pID(foreign key points to "person")
assume connection is established and... |
Forum: PHP Nov 8th, 2008 |
| Replies: 1 Views: 548 hi, would anyone please point out why my data don't go into the database table?
it is tested successfully connected to the database and the table maapa
thanks
<?php... |