- Home /
Retrieve PHP echo with C#
Hello,
So we're creating a registration system. We need to print the message which PHP echos but currently it doesn't ever get anything. The PHP script does echo messages because we've tested with a form but we can't seem to get the message in Unity.
When a user is registered it should in theory echo two messages 'User was registered' and 'User created' but we get neither in Unity.
PHP Script: https://pastebin.com/1aAWVEu1
PHP Script referenced when you register: https://pastebin.com/9ti1nP2U
Unity Script 01: https://pastebin.com/4fezkzpz
Unity Script 02: https://pastebin.com/nXEZnju2
We need a way of knowing whether the register was successful in Unity. Note both scripts do submit the data and insert into the database, we are just having a problem getting a response.
Any help would be appreciated, thanks.
Your answer
![](https://koobas.hobune.stream/wayback/20220612123942im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Is it possible to send a table name through a wwwform and use it in a php query? 0 Answers
WebHosting with phpMyAdmin PHP 0 Answers
Multistage Delete with WWW 1 Answer
Multiple Cars not working 1 Answer
Saving a leaderboard using PHP and C#. 2 Answers