Five360 Posted April 15, 2013 Share Posted April 15, 2013 (edited) Hey guys, I am new the forum and generally PHP itself. I am using a modified version of a webpage I found for a project of mine. I have the following code: $tbl->addRow(); $tbl->addCell('Shipping Address: ', 'label'); $tbl->addCell( $frm->addInput('text', 'address', '', array('size'=>36) ) , null, 'data', array('colspan'=>3) ); $tbl->addRow(); $tbl->addCell('Titles: ', 'label'); $tbl->addCell( $frm->addInput('text', 'title', '', array('size'=>36) ) , null, 'data', array('colspan'=>3) ); Now what I have done is essentially copied the email input and pasted it twice and re-named it Shipping Address & Titles. Now this works and everything when submitted, but for the user it still shows a box small enough for just the e-mail. I was wondering how I could re-size the text area for shipping and titles so that they fit appropriately. Thanks in advance, Five 360 PS. I am not trying to advertise whatsoever, I just feel it would be MUCH easier to understand what I am talking about if you could see for yourself. Therefore I have added a link to the page below: <spam removed> Edited April 15, 2013 by trq Quote Link to comment Share on other sites More sharing options...
trq Posted April 15, 2013 Share Posted April 15, 2013 I suggest you find out what framework it is your application is using and find a forum that supports it. The code you have posted isn't stock standard PHP. Quote Link to comment Share on other sites More sharing options...
Five360 Posted April 15, 2013 Author Share Posted April 15, 2013 Could you please look at the demo? I could post the rest of the code. Quote Link to comment Share on other sites More sharing options...
Jessica Posted April 16, 2013 Share Posted April 16, 2013 Did you try changing 36 to something bigger? Quote Link to comment Share on other sites More sharing options...
Five360 Posted April 16, 2013 Author Share Posted April 16, 2013 Yeah, that changes the horizontal length. I am trying to make it vertically bigger. Quote Link to comment Share on other sites More sharing options...
Jessica Posted April 16, 2013 Share Posted April 16, 2013 Then you need a textarea not an input. Quote Link to comment Share on other sites More sharing options...
Five360 Posted April 16, 2013 Author Share Posted April 16, 2013 Thanks, I am half way there now. I just need to learn how to make it bigger? And also remove the text "array" from the box. Quote Link to comment Share on other sites More sharing options...
Jessica Posted April 16, 2013 Share Posted April 16, 2013 I suggest you find out what framework it is your application is using and find a forum that supports it. The code you have posted isn't stock standard PHP. Quote Link to comment Share on other sites More sharing options...
Five360 Posted April 17, 2013 Author Share Posted April 17, 2013 I suggest you find out what framework it is your application is using and find a forum that supports it. The code you have posted isn't stock standard PHP. Yes, but how does that help a PHP newbie? If someone could actually give me some quality help I would really appreciate it. Here is a link to the PHP code I am using: http://www.dyn-web.com/code/order_form/example2.php Quote Link to comment Share on other sites More sharing options...
trq Posted April 17, 2013 Share Posted April 17, 2013 I'm not sure what part of "The code you have posted isn't stock standard PHP" you don't understand? How are we supposed to help you if we don't know anything about the third party library it is your using? The link you pointed to has little to no documentation. That is your problem. Quote Link to comment Share on other sites More sharing options...
Five360 Posted April 18, 2013 Author Share Posted April 18, 2013 I'm not sure what part of "The code you have posted isn't stock standard PHP" you don't understand? How are we supposed to help you if we don't know anything about the third party library it is your using? The link you pointed to has little to no documentation. That is your problem. I don't quiet understand how a preview and a download link to the complete code isn't enough to help me. I guess I came to the wrong forum for PHP help... Thanks anyways guys. Quote Link to comment Share on other sites More sharing options...
Five360 Posted April 18, 2013 Author Share Posted April 18, 2013 Could the mod/admin who moved the topic please justify the decision to move a help related topic to the third party application forum? ROFL. Quote Link to comment Share on other sites More sharing options...
Jessica Posted April 18, 2013 Share Posted April 18, 2013 Do you really not understand that the code you're working with is NOT CORE PHP? What are you confused about? You are asking for help with third-party code, which unfortunately for you appears to have no documentation. Try looking for the functions you're having trouble with in the PHP manual. You won't find them. We can't help you because we can't see all the code that you're working with. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.