Fix a small issue in my php code

Job ID: 35353736

Budget: $10 – $30 USD

Hi, please check attached php code.

Check line 102.

'prompt' => 'Write a description about electric cars',

I want this prompt to be dynamic and coming from user input from function at line 287. So basically i need to add a textfield in that function and get prompt from user and pass it to my openai function. But how? Pls tell me.

I will ignore automated messages. Pls write black cat so i know that you read the post.
Related categories: PHP JavaScript WordPress HTML WordPress Plugin