View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Dynamic Array creates a bad site layout display

Thread began 8/05/2009 9:03 pm by jonathan.meilleur385477 | Last modified 9/14/2009 3:06 pm by jonathan.meilleur385477 | 1634 views | 3 replies

Jason ByrnesWebAssist

The dynamic array code on the profile.ddtest.php was not moved quite right. view source on the profile.php page and the dynamic array looks like:

html:
<SCRIPT>
var WAJA = new Array();
WAJA[0] = new Array();
WAJA[0][0] = '6';
WAJA[0][1] = new Array();
WAJA[0][1][0] = '195';
WAJA[0][1][1] = '197 Culver Road';
WAJA[0][2] = new Array();
WAJA[0][2][0] = '196';
WAJA[0][2][1] = '197 Culver Road (3 units)';
WAJA[0][3] = new Array();
WAJA[0][3][0] = '183';
WAJA[0][3][1] = '801 Green Team';
WAJA[1] = new Array();
WAJA[1][0] = '4';
WAJA[1][1] = new Array();
WAJA[1][1][0] = '174';
WAJA[1][1][1] = 'Army Reserve';
WAJA[2] = new Array();
WAJA[2][0] = '2';
WAJA[2][1] = new Array();
WAJA[2][1][0] = '133';
WAJA[2][1][1] = 'Asbury United Methodist Church';
WAJA[3] = new Array();
WAJA[3][0] = '5';
WAJA[3][1] = new Array();
WAJA[3][1][0] = '152';
WAJA[3][1][1] = 'Association of Women in Computing';
WAJA[4] = new Array();
WAJA[4][0] = '1';
WAJA[4][1] = new Array();
WAJA[4][1][0] = '132';
WAJA[4][1][1] = 'Broccolo Tree and Lawn Care';
WAJA[4][2] = new Array();
WAJA[4][2][0] = '175';
WAJA[4][2][1] = 'Building 801 in Henrietta';
WAJA[5] = new Array();
WAJA[5][0] = '4';
WAJA[5][1] = new Array();
WAJA[5][1][0] = '143';
WAJA[5][1][1] = 'City of Rochester';
WAJA[6] = new Array();
WAJA[6][0] = '1';
WAJA[6][1] = new Array();
WAJA[6][1][0] = '178';
WAJA[6][1][1] = 'Crafting Links';
WAJA[7] = new Array();
WAJA[7][0] = '5';
WAJA[7][1] = new Array();
WAJA[7][1][0] = '160';
WAJA[7][1][1] = 'Deer Creek Homeowners Association';
WAJA[8] = new Array();
WAJA[8][0] = '1';
WAJA[8][1] = new Array();
WAJA[8][1][0] = '131';
WAJA[8][1][1] = 'Dorschel Toyota';
WAJA[9] = new Array();
WAJA[9][0] = '5';
WAJA[9][1] = new Array();
WAJA[9][1][0] = '161';
WAJA[9][1][1] = 'Evans Farm Homeowners Association';
WAJA[9][2] = new Array();
WAJA[9][2][0] = '154';
WAJA[9][2][1] = 'Finger Lakes Health Systems Agency';
WAJA[10] = new Array();
WAJA[10][0] = '2';
WAJA[10][1] = new Array();
WAJA[10][1][0] = '135';
WAJA[10][1][1] = 'First Unitarian Church';
WAJA[11] = new Array();
WAJA[11][0] = '5';
WAJA[11][1] = new Array();
WAJA[11][1][0] = '153';
WAJA[11][1][1] = 'Genesee Waterways';
WAJA[11][2] = new Array();
WAJA[11][2][0] = '163';
WAJA[11][2][1] = 'Girl Scount troop 11';
WAJA[12] = new Array();
WAJA[12][0] = '1';
WAJA[12][1] = new Array();
WAJA[12][1][0] = '188';
WAJA[12][1][1] = 'Green Irene';
WAJA[12][2] = new Array();
WAJA[12][2][0] = '189';
WAJA[12][2][1] = 'Green Irene';
WAJA[13] = new Array();
WAJA[13][0] = '6';
WAJA[13][1] = new Array();
WAJA[13][1][0] = '197';
WAJA[13][1][1] = 'Green Machine';
WAJA[13][2] = new Array();
WAJA[13][2][0] = '198';
WAJA[13][2][1] = 'Green Machine';
WAJA[13][3] = new Array();
WAJA[13][3][0] = '182';
WAJA[13][3][1] = 'Harry Potter Fan Club';
WAJA[14] = new Array();
WAJA[14][0] = '2';
WAJA[14][1] = new Array();
WAJA[14][1][0] = '186';
WAJA[14][1][1] = 'Irondequoit Presbyterian Church';
WAJA[15] = new Array();
WAJA[15][0] = '1';
WAJA[15][1] = new Array();
WAJA[15][1][0] = '179';
WAJA[15][1][1] = 'Itswyn';
WAJA[16] = new Array();
WAJA[16][0] = '5';
WAJA[16][1] = new Array();
WAJA[16][1][0] = '162';
WAJA[16][1][1] = 'Junior League';
WAJA[16][2] = new Array();
WAJA[16][2][0] = '156';
WAJA[16][2][1] = 'Little League';
WAJA[17] = new Array();
WAJA[17][0] = '1';
WAJA[17][1] = new Array();
WAJA[17][1][0] = '129';
WAJA[17][1][1] = 'Maven Technologies';
WAJA[18] = new Array();
WAJA[18][0] = '3';
WAJA[18][1] = new Array();
WAJA[18][1][0] = '140';
WAJA[18][1][1] = 'McQuaid Jesuit High School';
WAJA[19] = new Array();
WAJA[19][0] = '5';
WAJA[19][1] = new Array();
WAJA[19][1][0] = '159';
WAJA[19][1][1] = 'Meadowgate Homeowners Association';
WAJA[19][2] = new Array();
WAJA[19][2][0] = '148';
WAJA[19][2][1] = 'Memorial Art Gallery';
WAJA[19][3] = new Array();
WAJA[19][3][0] = '151';
WAJA[19][3][1] = 'Monroe Plan for Medical Care';
WAJA[19][4] = new Array();
WAJA[19][4][0] = '147';
WAJA[19][4][1] = 'Mothers & More';
WAJA[20] = new Array();
WAJA[20][0] = '3';
WAJA[20][1] = new Array();
WAJA[20][1][0] = '139';
WAJA[20][1][1] = 'Nazareth College';
WAJA[21] = new Array();
WAJA[21][0] = '1';
WAJA[21][1] = new Array();
WAJA[21][1][0] = '130';
WAJA[21][1][1] = 'Nixon, Peabody';
WAJA[22] = new Array();
WAJA[22][0] = '5';
WAJA[22][1] = new Array();
WAJA[22][1][0] = '150';
WAJA[22][1][1] = 'Optimists Club';
WAJA[23] = new Array();
WAJA[23][0] = '2';
WAJA[23][1] = new Array();
WAJA[23][1][0] = '136';
WAJA[23][1][1] = 'Our Lady of Mercy';
WAJA[24] = new Array();
WAJA[24][0] = '1';
WAJA[24][1] = new Array();
WAJA[24][1][0] = '128';
WAJA[24][1][1] = 'Paychex';
WAJA[25] = new Array();
WAJA[25][0] = '5';
WAJA[25][1] = new Array();
WAJA[25][1][0] = '155';
WAJA[25][1][1] = 'Pittsford Mustangs';
WAJA[26] = new Array();
WAJA[26][0] = '3';
WAJA[26][1] = new Array();
WAJA[26][1][0] = '177';
WAJA[26][1][1] = 'Pittsford Schools';
WAJA[26][2] = new Array();
WAJA[26][2][0] = '138';
WAJA[26][2][1] = 'RIT';
WAJA[26][3] = new Array();
WAJA[26][3][0] = '141';
WAJA[26][3][1] = 'Rochester City Schools';
WAJA[27] = new Array();
WAJA[27][0] = '5';
WAJA[27][1] = new Array();
WAJA[27][1][0] = '149';
WAJA[27][1][1] = 'Rotary Club';
WAJA[28] = new Array();
WAJA[28][0] = '6';
WAJA[28][1] = new Array();
WAJA[28][1][0] = '187';
WAJA[28][1][1] = 'SE Irondequoit Neighborhood Assn';
WAJA[29] = new Array();
WAJA[29][0] = '4';
WAJA[29][1] = new Array();
WAJA[29][1][0] = '146';
WAJA[29][1][1] = 'Small Business Administration';
WAJA[30] = new Array();
WAJA[30][0] = '2';
WAJA[30][1] = new Array();
WAJA[30][1][0] = '134';
WAJA[30][1][1] = 'Temple B|WA|rith Kodesh';
WAJA[30][2] = new Array();
WAJA[30][2][0] = '184';
WAJA[30][2][1] = 'Temple Sinai';
WAJA[30][3] = new Array();
WAJA[30][3][0] = '185';
WAJA[30][3][1] = 'Temple Sinai';
WAJA[31] = new Array();
WAJA[31][0] = '4';
WAJA[31][1] = new Array();
WAJA[31][1][0] = '142';
WAJA[31][1][1] = 'Town of Henrietta';
WAJA[31][2] = new Array();
WAJA[31][2][0] = '144';
WAJA[31][2][1] = 'Town of Perinton';
WAJA[31][3] = new Array();
WAJA[31][3][0] = '145';
WAJA[31][3][1] = 'Town of Pittsford';
WAJA[32] = new Array();
WAJA[32][0] = '3';
WAJA[32][1] = new Array();
WAJA[32][1][0] = '137';
WAJA[32][1][1] = 'University of Rochester';
WAJA[33] = new Array();
WAJA[33][0] = '1';
WAJA[33][1] = new Array();
WAJA[33][1][0] = '199';
WAJA[33][1][1] = 'XYZ Corporation';
WAJA[33][2] = new Array();
WAJA[33][2][0] = '127';
WAJA[33][2][1] = 'Xerox';
WAJA[34] = new Array();
WAJA[34][0] = '6';
WAJA[34][1] = new Array();
WAJA[34][1][0] = '180';
WAJA[34][1][1] = 'eco-moms';
WAJA[34][2] = new Array();
WAJA[34][2][0] = '191';
WAJA[34][2][1] = 'green zero';
WAJA[34][3] = new Array();
WAJA[34][3][0] = '190';
WAJA[34][3][1] = 'green zero';
WAJA[34][4] = new Array();
WAJA[34][4][0] = '181';
WAJA[34][4][1] = 'team Barbara';
WAJA[34][5] = new Array();
WAJA[34][5][0] = '193';
WAJA[34][5][1] = 'wc green';
WAJA[34][6] = new Array();
WAJA[34][6][0] = '194';
WAJA[34][6][1] = 'wc greenies';
WAJA[34][7] = new Array();
WAJA[34][7][0] = '192';
WAJA[34][7][1] = 'zero carbon';
var teamsignup_WAJA = WAJA;
WAJA = null;
</SCRIPT>





On the profile.ddtest.php page, the dynamic array is truncated, and the script tag is not closed:

html:
<script>
var WAJA = new Array();
WAJA[0] = new Array();
WAJA[0][0] = '6';
WAJA[0][1] = new Array();
WAJA[0][1][0] = '195';
WAJA[0][1][1] = '197 Culver Road';
WAJA[0][2] = new Array();
WAJA[0][2][0] = '196';
WAJA[0][2][1] = '197 Culver Road (3 units)';
WAJA[0][3] = new Array();
WAJA[0][3][0] = '183';
WAJA[0][3][1] = '801 Green Team';
WAJA[1] = new Array();
WAJA[1][0] = '4';
WAJA[1][1] = new Array();
WAJA[1][1][0] = '174';
<script type="text/javascript">
<!--
function WA_ClientSideReplace(theval,findvar,repvar) {
...

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...