🔒 Closed HELP PROGRAMING

Status
Not open for further replies.

genshin_mica

Enthusiast
$user_input = readline("ASK: ")"\n";
function payload($user_input){
$payload = '{
"prompt": "'.$user_input.'",
}';
}

How can i get the user log input and put into function payload like this.

$user_input = readline("ASK: HELLOW")."\n";
function payload($user_input){
$payload = '{
"prompt": "HELLOW"\n'.$user_input.'",
}';
And so on, until the user stop prompt.
 
Status
Not open for further replies.

About this Thread

  • 0
    Replies
  • 228
    Views
  • 1
    Participants
Last reply from:
genshin_mica

Trending Topics

Online now

Members online
1,301
Guests online
3,751
Total visitors
5,052

Forum statistics

Threads
2,304,551
Posts
29,160,531
Members
1,196,835
Latest member
ShiftyPantsDGamer
Back
Top