17,029 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for haymen.roth.3

In if else structure when null arguments are passed to two string variables then it always hit the condition when i have set Var1 != "" && Var2 != "" why ? since nulls are passed to both then why it hits this condition ? code: public ActionResult ShowCalTextBox(String DateFrom, …

Web Development asp.net software-architecture
Member Avatar for JorgeM
0
132
Member Avatar for johnef_sh

I have many pages which has the same form so I made a page called contactsGo.php and all the forms on the other pages should send to this page what I need is to redirect from contactsGo.php to each page sent the form this is my code <?php $name=$_POST['name']; $email=$_POST['email']; …

Web Development php
Member Avatar for diafol
0
423
Member Avatar for noobeyne

Hi, This error must be silly but i just can't seem to get over it for a day now. The following code tries to fill up an image array, and then "do something" with it. The problem is that I get an undefined error for the use of icons[i].src the …

Web Development javascript web-browser
Member Avatar for noobeyne
0
305
Member Avatar for sushmaja.arumalla.9

How to use commandName in hyperlink control similar to Link button for some backend process. I want Text of Hyperlink Which is clicked From a group of Hyperlinks to identify which hyperlink is clicked and based on it some backend code should be executed.How to retrieve the Text of Hyperlink …

Web Development asp.net gui perl seo
Member Avatar for Ahmed Badawi
0
1K
Member Avatar for fawadkhalil

Hi All I have droplistlist populated from database.When i add records everthing is ok with the dropdownlist: but when i edit records it shows duplicate values like High Medium Low Medium how can i romove duplicate values?

Web Development asp.net vb.net
Member Avatar for sup1991
0
1K
Member Avatar for Karry.Stewart

Hi, I've a site and it has a **News webpage**, called something like **www.website.com/news/detail/id/3**. Now when I try to share this on any social media sites it is taking the title of **www.website.com** for any of the news details I share, i.e only one title of the website. I want …

0
105
Member Avatar for davidjennings

Hi all, I have to update some classic ASP code and I need to add an if statment to compare if a uppercase value is == "N/A" and to compare value with request("productLink") line 8 and if it is it should by pass validation on line 16. Any further information …

Member Avatar for JorgeM
0
382
Member Avatar for Violet_82

Hello guys, I hope you can clarify something for me please. I was looking into carousels, found an excellent one and replicated in my code (for reference this is the one I looked at, it’s really good and easy to understand https://tutsplus.com/lesson/the-obligatory-slider/). Anyway, I have implemented that and I thought …

Member Avatar for Violet_82
1
1K
Member Avatar for SimonIoa

I Have a problem with saving a photo. When i put <form action="" method="post" enctype="multipart/form-data"> i saves the photo on the path but it doesnt saves it on the database. Althought the other values are saved (title,date, id etc). When i put <meta http-equiv="Content-Type" content="text/html"> <form action="" method="post" enctype="multipart/form-data"> the …

Web Development php
Member Avatar for diafol
0
176
Member Avatar for mbarandao

Hello, I have the following array Array ( [0] => Array ( [cName] => 'Lexington Table Tennis Club (9/30/2014)' [local] => 'Castlewood Gym 201 Castlewood Dr. Lexington, KY 40505' [days_times] => 'Saturday - 2:30 - 6:00PM and Sunday - 9:15AM - 12:00PM' [contact] => 'Babak xxxx 859-xxx-2498' [marker] => '<-----CLUB …

Web Development php
Member Avatar for mbarandao
0
149
Member Avatar for Amr87

I have an array ob objects like this `[Object { cat="4", attr={"att1":"val1","att2":"val2","att3":"val3"}}, Object { cat="2", attr={"att1":"val1","att2":"val2","att3":"val3"}}, Object { cat="3", attr={"att1":"val1","att2":"val2","att3":"val3"}}, Object { cat="2",attr={"att1":"val1","att2":"val2","att3":"val3"}}, Object { cat="3", attr={"att1":"val1","att2":"val2","att3":"val3"}}]` and I have series of divs with child divs as follow <div class="container" data-cat="1"> <div class="zone" data-product=""></div> <div class="zone" data-product=""></div> <div class="zone" data-product=""></div> …

Web Development javascript
Member Avatar for Amr87
0
264
Member Avatar for zentsang

OK... so here's the deal. I have tried multiple Google and forum searches to no avail. Maybe it's they way I'm searching but this is a last resort. I'm trying to have a page (HTML and Javascript mix) that a user can input a few lines of code into. Then …

Web Development html-css javascript
Member Avatar for zentsang
0
6K
Member Avatar for mbarandao

Hello, I am building a multidimensional array with the following code: $array_two = array(); $arrayIndex=0; $loopCount=0; $second_index=""; foreach ($result as $myValue) { $loopCount = ($loopCount<5) ? $loopCount : 0; switch ($loopCount) { case '0': $second_index="cName"; break; case '1': $second_index="local"; break; case '2': $second_index="days_times"; break; case '3': $second_index="contact"; break; case '4': …

Web Development php
Member Avatar for mbarandao
0
2K
Member Avatar for mbarandao

Hello, I have the following array: Array ( [2] => Champlain Valley TTC(1/31/2015) [5] => Old Shelburne Town School5420 Shelburne RdSherburne, VT 05482 [6] => Friday - 6:30 - 10:00PM [9] => Jack Devine802-877-3341 [10] => <-----NEXT_CLUB -----> [13] => Green Mountain Table Tennis Club(GMTTC)(6/30/2014) [16] => Knights of Columbus …

Web Development php
Member Avatar for mbarandao
0
226
Member Avatar for centenond

so want to auto create a whole html page i was thinking like this $newhtml = '<html><head></head><body>'.$variable.'</body></html>'; file_put_contents ('file.html',$newhtml); this would be the proper thing to do?

Web Development php
Member Avatar for centenond
0
131
Member Avatar for noobeyne

Hello, I am trying to load a background image onto my canvas without having it show up on the page itself. So I've defined a bg parameter and applied the local resource to it, and then tried to use the drawImage method to apply it to the canvas, but nothing …

Web Development image javascript web-browser
Member Avatar for noobeyne
0
163
Member Avatar for davy_yg

Hello, I am trying to show an uneditable text through an input textbox. The following input text box is still editable, how to make it uneditable? <td>Page</td> <td><input type="text" size="50px" name="page" value="<?php echo $page; ?>"/></td> Thanks before.

Web Development php
Member Avatar for cereal
0
149
Member Avatar for centenond

why this wont work? if ( file_exists($_SERVER['DOCUMENT_ROOT'].$dirfromroot)){ echo "<img id='imagen' src='$imgloc' >"; } else { echo 'No image to show!'; } also tried if ( file_exists($imgloc)){ echo "<img id='imagen' src='$imgloc' >"; } else { echo 'No image to show!'; } Thanks!

Web Development php
Member Avatar for centenond
0
192
Member Avatar for ebanbury

Hi I'd like to send one email to the registered user and a seperate email to the Administrator, with a separate body. I thought I could just duplicate the mail() but now neither email is being sent. Email 1 - Activation Email to the Registered User $to = "liz.banbury@gmail.com, ".$reg_email; …

Web Development php
Member Avatar for ebanbury
0
252
Member Avatar for CreatorZeus

I have been racking my brain trying to think of how this would work to no success. Can anyone explain how this could be done?

Web Development mysql php xml
Member Avatar for JorgeM
0
298
Member Avatar for Tangerinejoe

Today i 50% completed HTML5 Foundations by matt west. 1.Basics 2.Symantic Tags. 3.Links. 4.Lists. 5.Tables. phew......with all the exercises en all. I really got a hang on how websites are built. I wanna know is it the right time to switch to CSS3 and later do the forms stuff,javascript and …

Web Development html-css
Member Avatar for JorgeM
0
145
Member Avatar for davy_yg

Hello, I have two copies of the same website: one in the localhost and one is online. My offline website generates error after I login to the admin page: Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\xampp\xampp\htdocs\rustoleum\administrator\admin.php:9) in C:\xampp\xampp\htdocs\rustoleum\administrator\admin.php on line 52 …

Member Avatar for Borzoi
0
199
Member Avatar for SPRINGHEEL

/*SMS*/ $_objSmsProtocolGsm = new Com("ActiveXperts.SmsProtocolGsm"); $objMessage = new Com ("ActiveXperts.SmsMessage"); $objConstants = new Com ("ActiveXperts.SmsConstants"); $objMessage->Recipient = $cell; $objMessage->Format = $objConstants->asMESSAGEFORMAT_UNICODE; $objMessage->Data = "Your password is: " . $r; $_objSmsProtocolGsm->Device = "HUAWEI Mobile Connect - 3G Modem #2"; $_objSmsProtocolGsm->DeviceSpeed = 0; if( $_objSmsProtocolGsm->LastError == 0 ){ $_objSmsProtocolGsm->Send( $objMessage ); } …

Web Development php
Member Avatar for SPRINGHEEL
0
564
Member Avatar for rgkrish183

i'm creating the Simple CRUD Using Jsp, Servlet and MySQL program and i'm using the eclipse, and i all most done it, finally i'm going to run myself, it can't be run. i will install the jar file of jstl, servlet, mysql connector and finally standard.jar files are installed. but …

Web Development ide java java-jsp
Member Avatar for rgkrish183
0
1K
Member Avatar for centenond

why is this not working? :( <img src='<?php echo $imgloc; ?>' width='700'>

Web Development php
Member Avatar for centenond
0
592
Member Avatar for shahbaz13

Hello, I want to insert single or double quotes into mysql without using \ or anything else i tried mysql_real_escape_string but it did not work it gives SQL Syntax Error : Check what to use near error...Plz Help... Here's the code... [CODE]<?php $name = isset($_POST['name']) ? $_POST["name"] : ""; $description …

Web Development mysql php
Member Avatar for VIJAY_13
0
5K
Member Avatar for LRNPHP

Hi There, Hope everyone is doing well, I'm busy with developing a page but would like the user to be able to add rows Dynamically with PHP. This row will contain columns Example: <tr> <td rowspan="2" align="center" valign="top">Value A</td> <td height="24" align="center" valign="top">Value B</td> <td rowspan="2" align="center" valign="top">Value C</td> <td …

Web Development first-post php
Member Avatar for LRNPHP
0
261
Member Avatar for nazree.zeko

I got a database which contain data of jobseeker and employer. I create a form to search for jobseeker . The form contain textform and checkboxes . The problem is after i fill in any field and submit the result is not shown . Is there anything wrong with my …

Web Development javascript php
Member Avatar for cereal
0
214
Member Avatar for Sumith Asanka

Hi Guys I have 2 buttons on my we page one is to save and other button to view a list ,i have applied field validator to validate form fields , but when i click the list button also the required field validator is activating how can i stop that …

Web Development asp.net
Member Avatar for Sumith Asanka
0
238
Member Avatar for johndohmen1963

Hope someone can help me with the folowing. I have a date in a data table Works perfect to put a date in the table. But when i delete the date and the update with an empty date it wil update me the date of today. But i want it …

Web Development php
Member Avatar for johndohmen1963
0
174
Member Avatar for rgkrish183

hey buddy's i had one problem in servlet in jsp program. Exactly i'm getting this error, why i'm getting this error and how to solve this error., Have some tips: thanks in advance.,

Web Development java java-jsp
Member Avatar for rgkrish183
0
281
Member Avatar for rgkrish183

hey buddy's, i'm creating the program of employee details and i will inserted the fields are ADD,UPDATE,DELETE,EXIT,. I hope the all thing to find the exact solutions but, particular one thing only, that was UPDATE and these are the following some tips and code: 1.the input is not going store …

Web Development java java-jsp mysql
Member Avatar for rgkrish183
0
325
Member Avatar for SPRINGHEEL

Hey guys, I've been trying to get this to work. don't know how. <link rel="stylesheet" href="../js2/css/smoothness/jquery-ui-1.10.4.custom.css" type="text/css" /> <script src="js/jquery-1.9.1.js"></script> <script src="../js2/js/jquery-ui-1.10.4.custom.js"></script> <script type="text/javascript"> $(document).ready(function() { $('#box').dialog(); }); </script> <?php echo("<div id='box'> Password changed </div>"); ?> It doesn't workk somehow, can anyone help me?

Web Development javascript javascript-jquery php
Member Avatar for JorgeM
0
377
Member Avatar for RobotFX

So, I've found this code somewhere on the net (don't remember) and I'm trying to embed it into my site, just in case some of the visitors would need to use it. It creates short URLs (from 4 services) of a particular address. What I don't understand, and I hope …

Member Avatar for Reza_3
0
1K
Member Avatar for davy_yg

Hello, I am trying to install TinyMCE in for my text editor in CMS. [TinyMCE](http://www.tinymce.com/index.php) This is my code: input_berita_static.php <td valign="top">Isi berita</td> <td> <!-- TinyMCE --> <head><!-- CDN hosted by Cachefly --> <script src="//tinymce.cachefly.net/4.0/tinymce.min.js"></script> <script> tinymce.init({selector:'textarea'}); </script> </head> <body> <textarea cols="60" rows="10" id="news" name="news"><?php echo $news;?></textarea> </body> <!-- end …

Web Development cdn cms php
Member Avatar for Tpojka
0
262
Member Avatar for techman41973

I have a PHPBB forum and just ran into a serious issue after my host switched me from a shared server to a VPS, and they can't figure out how to fix it for me. On all of my posts that contained inline attached pictures, the pictures no longer display, …

Web Development client-server php phpbb
Member Avatar for techman41973
0
731
Member Avatar for MasterHacker110

I am thinking about making my own social network recently. Now I have a few questions... Q1: I have used php and asp.net before and liked them both, never really used python for web development. I am thinking about making a smallish social network but also want to expand it …

Web Development asp.net php python
Member Avatar for masterjiraya
0
250
Member Avatar for mpc123

Hi I need to update a colomn with the result of colomn 1 divided colomn2 I have tried update TABLE set colomn =SUM(colomn1 / colomn2) but get [Err] 1111 - Invalid use of group function IF anyone can help please

Web Development php
Member Avatar for mpc123
0
135
Member Avatar for chrisschristou

hello friends i have a jquery function who calculate a total of form field in real time (live), the value of field is data from DB table .. it work fine i have add php loop to show all data in table but the jquery function calculate only the first …

Web Development javascript javascript-jquery
Member Avatar for chrisschristou
0
1K
Member Avatar for joshl_1995

Hello Community, I'm trying to connect to my database using PDO but for some reason it keep coming back saying "Undefined variable: db_c" db_c is the variable I've chossen for the name of my database connection. I've placed the database connection in another file, and I'm trying to connect to …

Web Development php
Member Avatar for cereal
0
291
Member Avatar for squeak24

I have a rather large PHP script written in PHP 5.3, but I have now moved to a new server that has 5.4. Is there away in which I can make the PHP 5.4 backward compatible. Failing that is there an easy way in which I can convert the script …

Web Development php
Member Avatar for squeak24
0
261
Member Avatar for Tinnin

Hi all, I'm trying to use the following code to see if a method exists and then use it if it does: $method_exists = method_exists('myclass', 'mymethod'); if ($method_exists && isset(myclass::mymethod('blah')) { but I am getting the following error: Fatal error: Can't use function return value in write context I've looked …

Web Development php
Member Avatar for Tinnin
0
301
Member Avatar for Tko_1

This script will add a submit button on the next line to remove that line, I have done this before but in this script i can not seem to get it to work. i know im missing something simple. Im tring to have the submit be an image and also …

Web Development image php
Member Avatar for Tko_1
0
212
Member Avatar for mehnihma

HI I have problem with this code <?php $var = echo $this->Entity_RenderField($entity, $this->Entity_Field($entity, 'field_meni')); echo do_shortcode($var);?> error: Parse error: syntax error, unexpected 'echo' (T_ECHO) in /home/templates/test.html.php on line 86 when I do this: <?php $var = $this->Entity_RenderField($entity, $this->Entity_Field($entity, 'field_meni')); echo do_shortcode($var);?> there is no error but also no output and …

Web Development php
Member Avatar for mehnihma
0
340
Member Avatar for rpv_sen

Hi Friends I am working on Payment integration. Can any one help me, how to integrate HDFC payment gateway in php.

Web Development php
Member Avatar for pritaeas
0
621
Member Avatar for RainaAnja

i have a problem,i log in even though im not registered in database, please help me urgent!!!!!!!!!!!!

Web Development mysql php
Member Avatar for mohan@nano
0
174
Member Avatar for pars99

Whenever I create a prompt, I see this at the top: "The page at [the URL] says:". Am I able to change this or do I, as I was told to use for something else, have to use jQuery dialogs?

Web Development javascript
Member Avatar for Troy III
0
137
Member Avatar for rpv_sen

Hi Please any help me on the below issue i am having a interger as below the formate is CYYDDD 114024 i want to change the above line as 24-01-2014

Web Development javascript php sql
Member Avatar for rpv_sen
0
187
Member Avatar for rpv_sen

Hi can any one pls help on the below thing I am having a value as 91819.0 But I required the above data should be converted as time as below 9:18:19 Likewise it should be viceversa

Web Development php sql
Member Avatar for rpv_sen
0
277
Member Avatar for MoreBloodWine

Ok, so someone else wrote the below code for me and is on a bit of a hiatus, so I can't ask them for help. In any event, I would like to also pull the following three things which is why I am here asking for help. total_rewards, paid_rewards & …

Web Development api json php
Member Avatar for pritaeas
0
312

The End.