• 0

A PHP Error was encountered

Severity: Notice

Message: Undefined index: userid

Filename: views/question.php

Line Number: 191


File: /var/www/html/cnasolution/site/application/views/question.php
Line: 191
Function: _error_handler

File: /var/www/html/cnasolution/site/application/controllers/Questions.php
Line: 419
Function: view

File: /var/www/html/cnasolution/site/index.php
Line: 315
Function: require_once

name Punditsdkoslkdosdkoskdo

Escape “?” in htaccess [duplicate]

Im trying to make a redirect of.

RewriteRule ^search?q=([a-zA-Z0-9]+) home.php?view=search?q=$1 [NC]

But it's not working it has something to do with the "?" though cause when I remove the "?" from ^search?q=([a-zA-Z0-9]+) it do redirect but when it is there I get a 404 error. How do I fix this?

Download script demo [LINK] [Origin]
Download script demo [LINK 2] [Onedrive] Download script demo [LINK 2] [Google drive]