İptal Edildi

Simple PHP Question

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:

<input type="hidden" name="subid" value="" />

and the method="post"

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

djdjdjsswty317

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ün: input hidden post, php post value, php value post, form hidden post value, php post hidden, php form hidden, logic question, php input output, input output php, repeat php code, php input variables, php form input, form appears php, php post variables, php repeat output, php script repeats output, simple php post form, repeat output php, php code feedback form, repeat php, simple php post, form input output, simple php feedback, simple php feedback form, php logic

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

Proje NO: #4419179

18 freelancer bu iş için ortalamada 8$/saat teklif veriyor

rajeshsonisl

Quality work assured. Ready to get started. Thanks.

30$ USD / saat
(349 Değerlendirme)
6.9
marchingantssl

Hello, let me take this. Thanks

30$ USD / saat
(115 Değerlendirme)
6.8
gopalvora

Hi ready to start Thanks

5$ USD / saat
(138 Değerlendirme)
6.7
inzaghi2006

Hi, I can help you to debug this problem. please contact me. Thanks

8$ USD / saat
(60 Değerlendirme)
5.6
webxtreams

ready to fix sir

5$ USD / saat
(103 Değerlendirme)
5.3
technomeet

An ISO 9001:2008 certified company, Assure you 100% job satisfaction Ready to start please check PMB

8$ USD / saat
(5 Değerlendirme)
4.5
pranotosh

I can fix this. Please let me fix this. Thanks

5$ USD / saat
(13 Değerlendirme)
3.7
erpiyushnagar

Hi Employer, we have gone through your requirement detail & find ourself the most suitable for the job. Thanks

5$ USD / saat
(3 Değerlendirme)
3.4
bestwebnow

Hello sir,we have very good experience in php.let me do this.you can check our recent work in pmb.

2$ USD / saat
(2 Değerlendirme)
2.9
sandrodzneladze

Hi, this sounds bewildering. I'd like to try to help you :)

3$ USD / saat
(1 Değerlendirme)
2.8
Borosoft

Shouldnt be a problem!

11$ USD / saat
(5 Değerlendirme)
2.8
dharmeshs

Hi i can fix you variable problem, i have 7 year experience in php, and can start work now, thanks.

5$ USD / saat
(7 Değerlendirme)
2.5
rajuworld

Hello Sir, i can start now and will sort it out in next 2-3 hrs

3$ USD / saat
(7 Değerlendirme)
2.4
khp31

Sr. Software Developer with 3.4 yrs experience.

3$ USD / saat
(0 Değerlendirme)
0.0
ThauwaSolutions

I will go through your code and provide a solution to your dilemma asap.

2$ USD / saat
(0 Değerlendirme)
0.0
evopo

Kindly post the code as it does not show.

3$ USD / saat
(0 Değerlendirme)
0.0
desource2012

hello, i am a web developer...i can do the job.

5$ USD / saat
(0 Değerlendirme)
0.0
nya3z

Please check you pm :)

5$ USD / saat
(0 Değerlendirme)
0.0
engineerharis

I have an extensive working experience in developing web-based applications using JavaScript, Ajax, Php, Mysql, HTML5, CSS3.

3$ USD / saat
(0 Değerlendirme)
0.0