Jump to content

Calling PHP scripts


fareedreg

Recommended Posts

Thanks in advance for your support I have questions...

 

Q. After calling php from html/php page how can we get back the values as parameter of calling php page.. I mean to say that A.php calling B.php and getting values from b.php as a parameter to fill a.php text boxes. etc.

 

Q. IF its not possible what is the best way to get values in the same page. I have table booksupplier which have id's and book supplier name.... another table is bookmaster which contain suppid connected to booksupplier table.

I want to make a form in which i would like user to select supplier id and in return supplier name will come  on onblur event of textbox... Is this possible in the same form if i get value return from php.

 

Thanks

 

Link to comment
https://forums.phpfreaks.com/topic/185528-calling-php-scripts/
Share on other sites

Ajax is a combination of client-side (javascript) and server-side (php or whatever).

 

Within the onBlur event you would basically make an ajax request back to the server to get the data you want (in the background).

 

You might want to take a look at the jQuery javascript library is this makes things pretty simple.

Link to comment
https://forums.phpfreaks.com/topic/185528-calling-php-scripts/#findComment-979521
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.