Welcome Guest, Not a member yet? Register   Sign In
Syntax Error with URL
#2

(This post was last modified: 02-11-2020, 11:29 AM by jreklund.)

Hi, it should be like this:

PHP Code:
echo '<td><a href="' site_url("select/gettable/" $tables['men'][$i])  '" class="link-class">' $tables['men'][$i] . '</a></td>'

If it's not working. $tables['men'][$i] contains an array and not a string.
Reply


Messages In This Thread
Syntax Error with URL - by GregS - 02-11-2020, 12:43 AM
RE: Syntax Error with URL - by jreklund - 02-11-2020, 11:28 AM



Theme © iAndrew 2016 - Forum software by © MyBB