![]() |
I need a php whiz smarter than me to look at this code.
I don't understand why this gives errors. I have used it before in .php hosted gallery pages etc.
PHP Code:
PHP Code:
PHP Code:
Parse error: parse error, unexpected '\"', expecting T_STRING or T_VARIABLE or T_NUM_STRING Ideas? Thanks. |
you forgot an echo
|
Looks to be
<a href="<?=$_GEThahaha91;"categ"]?>_next.php\"> Look at the categ... you have ;" instead of ;\" like your other example shows. Hard to know without seeing the code work etc, but looking at your other example and based on the error its missing the \ which is an escape. |
contact silvertab he is php ninja, tell him I sent ya. Hes a good friend of mine. I wont fuck with noone else 94586959
|
Where?
What makes it any different? The only code in question is: href=\"<?=$_GET["categ"]?>_next.php\" vs href=\"next.php\" http://adult-site-traffic.com/phpcode.htm is the real code. Board fucked it up. . |
Quote:
href=\"<?=$_GET[\"categ\"]?>_next.php\" and this: href=\"<?=$_GET["categ"]?>_next.php\" But I should have this instead ? href=\"<?=$_GET[\"categ"]?>_next.php\" Thank you. . |
Why don't you just use this:
<a href=\"" . $_GET["categ"] . "_next.php\"> |
Quote:
href=\"<? echo $_GET["categ"] ?>_next.php\" |
echo 5<> output echo roger over
print <> word |
He did not forget an echo the '=' equals "echo" in this case ..
the problem is a little bit more complex , what you are trying to do is basically starting a second php instance within an existing one (<? ... <?) so change this code: Code:
<a href="<?=$_GET["categ"]?>_next.php\"> Code:
<a href=\"" . $_GET["categ"] . "_next.php\"> |
Quote:
. |
Quote:
format C:\ |
Glad I could help you out. :)
|
Sorry I guess the shit was encoded when you put it on here, so it looked like a " was unescaped. Glad you got it sorted out.
|
All times are GMT -7. The time now is 05:06 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123