- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
27 Posted Topics
Re: Hi, As per "pixelsoul" please check syntex i.e. `<` Also I have suggest another coding sytle. i.e. a) Do Not open connection in <select> b) First Opne Connection and get result c) Fetch only result loop in <select> d) You can also use following coding style to better understand and … | |
Re: Hi, As per my understanding your requirment is when you click on link you get href url HTML <a href="//www.example.co.uk/login.aspx" target="_blank" title="Login" onclick="popitup(); return false;">Click</a> Javascript: on popitup() function pass 'this' object i.e. onclick="popitup(this)" ; and in the function get href value ex: Javascript Function function popitup(thisobj) { var thisurl … | |
Re: Hi, As per my understanding you need so show data in dropdown (In view file) i.e. showing country list in from. Ex: Showing Country list in dropdown A) Create a model to fetch all data from "countrymaster" table -- Controller -- $data = array(); $data['countrylist'] = $this->localizationmodel->getCountryList(); // I asume … | |
Re: Hi, The error says that library file is missing. I think 'validation' is not CI core library. I think you need 'form_validation'. So please try with 'form_validation' instead of 'validation'. Please check and let me know. Thanks, Ajay | |
Re: Hi, I have look your site. From my side font is working. I am using latest Firefox. Please see attached screen shot. Thanks, Ajay  | |
Re: Hi, I suggest you to install this plugin to your wordpress. It will resolve all your theme issues. http://wordpress.org/plugins/option-tree/ You can setup and retrive all possible theme options like: Background Category Checkbox Category Select Checkbox Color Picker CSS Custom Post Type Checkbox Custom Post Type Select Date Picker Date Time … | |
Re: Hi, I suggest you to try with this simple google map. http://wrightshq.com/playground/placing-multiple-markers-on-a-google-map-using-api-3/ Please check and let me know. Thanks, Ajay | |
Re: Hi, Please try following link http://wrightshq.com/playground/placing-multiple-markers-on-a-google-map-using-api-3/ It is very simple example with multiple markers. Please check and let me know. Thanks, Ajay | |
Re: Hi, I just check the code. Can you change your add option and check? Insted of array use individual saving options. add_option( 'sidebar2_on', 'true', '', 'yes' ); add_option( 'footer_text', '(c) mytheme', '', 'yes' ); Please check and let me know. Thanks, Ajay | |
Re: Hi, To carry session from on page to another, Please do the following. a) Open session before you can do anything on the page. In other words your first line of the page is <?php @session_start(); ?> b) add values / variable to session i.e. $_SESSION['username'] = 'ajay'; $_SESSION['fburl'] = … | |
Re: Hi, As per my understanding you need all files are in .htm or .html but work like .php files. i.e. aboutus.htm will work like aboutus.php, am I correct? Please let me know. Thanks, Ajay | |
Re: Hi, Try to change mysqli_fetch_array($result) with mysql_fetch_assoc($result). I think you will get required output. Please check and let me know. Thanks, Ajay ![]() | |
Re: Hi, As per my understanding you need to make array for each new line. It is correct? If yes then you can also use preg_split. (Split string by a regular expression) $print_string = preg_split('/\r\n|\n\r|\r|\n/', $_GET['name'], -1, PREG_SPLIT_NO_EMPTY); Please check and let me know. Thanks, Ajay ![]() | |
Re: Hi, As per my understanding you want to include above code to all posts / pages. is it correct? I suggest you to create a small plugin and apply code to the footer. Below is the plugin code. Create a file i.e. "wp_plugin.php" and copy all code on it. Pleace … | |
Re: Hi, Can you able to change the ID and name of the both tags and check? Because ID of input and <a> link are the same. and make sure that <form> name and id will be 'UpdateForm'. Please check and let me know. Thanks, Ajay | |
![]() | Re: Hi, Which cms you are using? If you are using custom cms then I suggest you to go with a) http://www.phorum.org/demo/ (simple functionality) b) http://www.php-forum.com/phpforum/ (modrate functionality) because PHPBB is little bit complex to customize. Please check and let me know. Thanks, Ajay ![]() |
Re: Hi, Please remove echo statement in concate. i.e. $subject = "You got a Project Invitation from ". $_SESSION['user_name']; echo $subject; Please check and let me know. Thanks, Ajay | |
![]() | Re: Hi, You can pass result to view either using model or execute in controller a) Using Model (in model "topicmodel" you can execute query) //Get Result via model $this->load->model('topicmodel'); $result = $this->topicmodel->get_details(); //and pass into to view //View $data = array(); $data['topicresult'] = $result ; //Assign result to variable data … |
Re: Hi, If you are getting error like "headers already sent" mens you are showing something before header('location: user/dashboard.php'); This may be a single space or any error. Also try to remove any blank space / balank lines before using header('location: user/dashboard.php'); If you need more help, Please let me know. … | |
Re: Hi, Please try with PHPMailer. It is easy to configure and can attach multiple attachments with html output. Please see: http://phpmailer.worxware.com/index.php?pg=examplebmail If you still having any issue please let me know. Thanks, Ajay | |
Re: Hi, I will provide prototype example: Form Code <form name="frmcontact" id="frmcontact" method="post"> <p>First Name: <input name="fname" type="text" id="fname" placeholder="First Name" /> </p> <p>Last Name: <input name="lname" type="text" id="lname" placeholder ="Last Name" /> </p> <p>Email: <input name="email" type="text" id="email" placeholder="Email" /> </p> <p>Comment: <textarea name="comments" id="comments" placeholder="Comments" class="txtarea"></textarea> </p> <a href="javascript:void(0);" … | |
Re: Hi, You can use Google Analytics to check user statistics Or you need to store $_SERVER['REMOTE_ADDR'] of each visit and using this i.p. get contry location. Thanks, Ajay | |
Re: Hi, Please try to change input type to "button" <input type="button" name="addT" value="Add Table" onclick="fnClickAddRow();" /> because button type submit may refresh the page. Please let me know. Thanks, Ajay | |
Re: Hi, Please find following Javascript functions to select / deselect checkbox using div (This will apply checkboxes in a div) <script type="text/javascript"> function checkedall(divname) { $("#" + divname).find(':checkbox').each(function () { $(this).attr('checked', true); }); } function uncheckedall(divname) { $("#" + divname).find(':checkbox').each(function () { $(this).attr('checked', false); }); } </script> You can all … | |
Re: Hi, If you are using correct user name and password then please check on session part. In admin.php use @session_start() at the begning of the page. (Before any coding). Session should be start before any precoess. So this is your first line on page i.e. <?php @session_start(); ?> @ is … | |
Re: Hi, As per "pixesoul" you can radio buttons as group Or You can use jQuery to disable all other radio buttons. If you need more help, Please let me know. Thanks, Ajay | |
Re: Hi, I suggest you to check following things a) check that value is enter in database is properly. Try with different encrypt as md5 For testing purpose use code like $password= md5($_POST['password']); and also apply same method in "loginAttempt" function like Juse Example: If ( $user["password"] == md5($_POST['password']) ) { … ![]() |
The End.