|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
I've been looking forever for the syntax that would get me something like: ~.phtml?id=75 or something like that. I knew how to do it on CGI and it was very useful programming. Would someone let me in as to how to do it in PHP3?
Does it have something to do with MySQL? hehe ------------------ - Samwise www.xgamerz.com |
|
#2
|
|||
|
|||
|
More input, More Input....
What exactly are you trying to do? If you're submiting data to a form to a php script, that's pretty easy. Just make sure the form names have the same name as the variable in the php script, but don't forget to put the $ in front of the variable in the php script. If the url is including the data just put http://www.whatever.com/script.php3?variable1=this&variable2=that If you need more help let me know. ------------------ Jason Woods http://www.bon-fire.com jasonw@bon-fire.com ------------------ |
|
#3
|
|||
|
|||
|
I guess I need some tutoring..... In Perl, you would say:
$action = param('a'); if ($action eq "preview") { &preview; } and you'd put in in the address finder thingy, http://whatever.com/cgi.cgi?a=preview and it would display the preview sub routine. How would you do that in PHP3, or is it something totally different. I'm interested in learning about that form thingy you were talking about.... please reply or e-mail me at samwise@softhome.net . Thanks. ------------------ - Samwise www.xgamerz.com |
![]() |
| Viewing: Dev Shed Forums > Programming Languages > PHP Development > ~.phtml?id=56 ??????? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|