Re: [PHP-DB] & terminates string?

2005-01-06 Thread Gabino Travassos
Hey Matthew Example: index..php?id=4539&page=dest.php&wig=top From this url example I can use the following variables: $id='4539'; $page='dest.php'; $wig='top'; for ampersands, use %26 the same way that spaces are %20 in URLs So, if I wanted to pass a variable that had an ampersand in it, like Tony

Re: [PHP-DB] PHP / Javascript question

2004-11-15 Thread Gabino Travassos
Hi there everyone, I have a form with check boxes and with PHP I use the array feature for the form name. Now I need to check if the tickboxes are ticked and if not return an error, normally with javascript I would use: function validate_form ( ) { valid = true; if ( document.removeitems.del

Re: [PHP-DB] Fixing this code to show all variables!

2004-11-01 Thread Gabino Travassos
Hello Juan If I declare &Telefono=4141414 in one line and in the next line I declare &Telefono=31453531, then I have overwritten the first variable. What you need to change is the name of the variable. You need to append your ID number to the variable name. So &Telefono01=4141414 and &Telefono0

Re: [PHP-DB] Showing all mysql query results!

2004-10-18 Thread Gabino Travassos
Have you used Flash to get PHP before? It looks like you're making your variables fine, but are you using a loop to check whether the variables have loaded? After &Donde=$donde I would add a variable: &done=1, then check in Flash whether done==1. If it is, all your variables have loaded into Fla

Re: [PHP-DB] Books

2004-10-18 Thread Gabino Travassos
I like PHP Functions: Essential Reference from New Riders. It's pretty much redundant to the online manual: http://www.php.net/manual/en/ , but I can read it waiting for my bus. It's $50 US though. The O'Reilly book Web Database Applications with PHP and mySQL is also handy. http://www.oreilly.