|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Php and wap integration help
i have a php&wml script that is giving me a problem. now the problem comes in when i want to query a table from a mysql database.
the query only works when i query the whole table or when query a specific name.the moment the problems start are when i place a verable into the query that throws the thing off. can anyone give me an example of a script that has worked which alows an imput and then findes the input with the quey and displays the content related any help would be much welcomed thanks |
|
#2
|
||||
|
||||
|
I don't have any specific code for you off hand but
try the WAP Resources - in particular the Developer's Home pages. The debug. When you are processing your form, try to print_r your results to see what is actually getting passed. Also, if you need further help, please post your relevant code. Hope that helps, good luck and Welcome to DS...
__________________
Cheers, Jamie # mdb4u | mobile movie database] | Please help to test and promote # skiFFie | Home of the 'accessibility module' for Drupal # Jamie Burns [me] Accessibility Module [drupal] # guidelines | search | wap resources | not getting help | fold to cure __________________ Let the might of your compassion arise to bring a quick end to the flowing stream of the blood and tears ..... Please hear my anguished words of truth. ![]() __________________ Last edited by jabba_29 : February 12th, 2007 at 10:30 AM. |
|
#3
|
|||
|
|||
|
i am new to wml but is wml case sensitive
|
|
#4
|
||||
|
||||
|
Yes, because it is a derivative of XML.
Quote:
|
|
#5
|
|||||
|
|||||
|
i tested the variable with the print_r and it returns the value i entered but the program is not working.
here is the script php Code:
Last edited by jabba_29 : February 12th, 2007 at 07:05 PM. Reason: removed passwords ;) |
|
#6
|
||||
|
||||
|
Try querying the database using PHP variables, not WML variables:
$_POST['name'] etc... |
|
#7
|
|||
|
|||
|
okay sorry for the long wait as i had school but i tryed your code in my script but the function produces a wml error saying that it is not wml content.
can you tel me how u get a variable out from a wml <postfield> and into a php variable pls |
|
#8
|
||||
|
||||
|
Can you show exactly what you have got so far,
and how you process the info? |