Simple PHP Question - repost

I have a problem with the way my variables are getting passed. It defies logic.

I have this code:

And then later on in the code I have this in a form:

and the method="post"

Now the problem is something crazy is going on. Sometimes the $newsubid comes out as something like this:


See how the "dj" is repeated 3 times? It's only supposed to repeat once. But sometimes it also comes out as:

djsksololiver310 - (correct "dj" only appears once)

But sometimes it's also:

djdjsswty317 (WRONG - djdj is 2 "dj" ... only have 1 in code: $newsubid = "dj" . $_POST["subid"];)

So you can see for some strange reason the "dj" portion randomly repeats itself at the front of the output in my reports. It ALWAYS should be $newsubid = "dj" . $_POST["subid"]; ... which has only ONE "dj" at the beginning of $newsubid.

I cannot determine why this happens.

Please tell me how much you will charge for this (very low amount) and you will get the money PLUS a very positive feedback!

Thank you!

Beceriler: PHP

Daha fazlasını gör: logic question, repeat php code, php code randomly show question database, form appears php, php post variables, php repeat output, simple php post form, repeat output php, php code feedback form, repeat php, simple php post, simple php feedback, simple php feedback form, chat php simple, php simple chat, database php simple project, php simple form, php tell form post, php simple order form, php simple spider, php simple discussion forum, php simple sign application, php simple crm

İşveren Hakkında:
( 8 değerlendirme ) Miami, United States

Proje NO: #4419433



I am pretty sure that I can help you with your code.

$2 USD / saat
(0 Değerlendirme)

Bu iş için 3 freelancer ortalamada $5/saat teklif veriyor


Hi ready to start Thanks

$5 USD / saat
(138 Değerlendirme)

i will do this issue.

$8 USD / saat
(74 Değerlendirme)