[Problem] Reborns

12/12/2010 00:38 pajurpl#1
Hi need help in creating a script to the data reborns lvl there were so many points and tlye reborn. To be 5 Reborns. Stir far below the data points on the lvl to be at reborns


Normal Bonus
170/179 +200
180/189 +250
190/195 +300
196/199 +350
200 +400


The following script will stir my upcycle but something is not working
[Only registered and activated users can see links. Click Here To Register...]
12/12/2010 23:34 MMOPerfectionİ#2
Abit confused on what you are asking , is it that you want to make 5 reborns with these stats?
12/13/2010 06:01 epic_game#3
What exact error are you having, i've noticed straight away your using the html readonly function wrong..

you have,

<td align='left'><input type='text' readonly=readonly maxlength='20' value='".$row4[6]."'></td>

it should be

<td align='left'><input type='text' maxlength='20' value='".$row4[6]."' READONLY></td>

but umm maybe further explanation of the error output would be advisable, ensure that display errors is on in the php.ini file and show us what your errors are :)
12/13/2010 07:59 janvier123#4
readonly=readonly and READONLY gives the same output so why change it ?

just add this in the php file:

PHP Code:
error_reporting(E_ALL); 
12/13/2010 11:21 epic_game#5
really, does it? news to me. yeah still he needs to show us his error report, without it its too hard to find the solution. Also its more so neatness, i like the look better without the readonly = readonly and just readonly, furthermore does he even need the readonly. Might just make the script look a tad nicer but yeah back to the issue, error output please!
12/13/2010 11:41 janvier123#6
the readonly is only used by php/html writers, so i dont give a flying sh*** how my code looks, normal users will never see it, unless they need to edit, view source

bottom line.. both work and everyone has his own way of writing code, iam not gonna win a contest: who has the most beautiful code, but then again ... who cares ?

These work:

readonly="readonly"
readonly="true"
readonly="false"
READONLY
DISABLED

Quote:
READONLY and DISABLED both remove the functionality of the input field, but to different degrees. READONLY locks the field: the user cannot change the value. DISABLED does the same thing but takes it further: the user cannot use the field in any way, not to highlight the text for copying, not to select the checkbox, not to submit the form. In fact, a disabled field is not even sent if the form is submitted.
[ ON-TOPIC ]

like i said before:

Quote:
- Got a bug? Something not working? DONT POST "ITS NOT WORKING" but post the damn error code !
[Only registered and activated users can see links. Click Here To Register...]

PHP Code:
error_reporting(1);
ini_set('display_errors',true); 
12/13/2010 14:13 epic_game#7
janvier no need to get so up in arms about the whole issue, it was just a little thing, plus Its a debate thats gone on for years and i don't think this forums is a suitable place. But yeah back to the purpose of my original post, janvier is right, like i said prior, show us the errors please
12/13/2010 14:21 janvier123#8
iam not :d
but its alway useful to give extra info about it
and i learned a new thing today so ....DISABLED :d
12/13/2010 21:18 epic_game#9
Yeah i did aswell :) sorry i must have misinterpreted the tone of your first two paragraphs, mainly the line

Quote:
so i dont give a flying sh*** how my code looks
thought you were getting a tad annoyed, but nevermind and the extra info was good cause it showed me something.
12/13/2010 21:28 janvier123#10
Quote:
Originally Posted by epic_game View Post
thought you were getting a tad annoyed, but nevermind and the extra info was good cause it showed me something.
i get pms on epvp and dku telling me my code looks like crap ....
that its newbish writing .. i dont care