InMotion Hosting Support Center

askquestion button

Category: Team

2013-01-09 6:19 pm EST

Hits: 584
Hi, what is wrong with this code? sending does not work..

div id="askQuestion" style="">

textarea id="questionText" class="required" rows="6" cols="30" name="data[info]">

You must login before you can ask a follow up question.

You must login before you can submit an answer.

Best answer chosen by User


9,968 Points
2013-01-09 7:05 pm EST
Hello mimoun,

We can't tell what's wrong with your code because you've only included a small snippet.

Taking a look at what you have included, it looks like you possibly have a PHP function called read, and you're passing the value of userid to it.

My assumption would be that the section of PHP code prior to what you've included is possibly incorrect. I took a look through some of your files for mentions of read('userid'), and it seems there is also a variable called $userid getting defined with it like this:

$userid = $session->read('userid');

If I had to take a guess, I'm assuming the line of code you provided might function with something simply like this instead of trying to use the read function again:

<?php echo $userid ?>

It's impossible to tell though without knowing what file you're looking at, and what section of that file.

We unfortunately don't provide coding support typically, especially on software that we're unfamiliar with. So I'd recommend possibly contacting the developers of the software that you're using for further help, or reach out to the community of users that use that software.

If you can get back to us with very detailed information such as what file you're having this issue with, and the line of code you suspect is problematic, we can take a look at it for you. But there is no gurantee that we'd be able to resolve these problems for you without knowing the inner workings of the application you're using.

- Jacob

You must login before you can post a comment about this answer.

Like this Question?

Support Center Login

Our Login page has moved, Click the button below to be taken to the login page.

Need more Help?


Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail:
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!