17,029 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for Violet_82

Hello guys, I'd like to clarify a few things with IDs and classes. As I've learned so far, ASP.NET adds its own id and overwrite the previous one, if there was any. Let's just take a recent example, the panel I added in my previous thread: <asp:Panel ID="ThankYouPanel" runat="server"> <div …

Web Development asp asp.net
Member Avatar for Violet_82
0
235
Member Avatar for rjusman90

<ul class="sf-menu"> <?php $menu_query ="SELECT * "; $menu_query .="FROM `menu`"; $menu_query .="WHERE `Status` = 'Enabled'"; $menu_query .="AND `ParentMenuID` = '0'"; $menu_result = mysqli_query($connection,$menu_query); while($row = mysqli_fetch_array($menu_result,MYSQLI_ASSOC)){ $PageID=$row['PageID']; $ID=$row['ID']; $LW=$row["LinkWidth"]; $menu_qry_for_page ="SELECT * "; $menu_qry_for_page .="FROM `page`"; $menu_qry_for_page .="WHERE `ID` = '$PageID'"; $menu_qry_for_sub ="SELECT * "; $menu_qry_for_sub .="FROM `menu`"; $menu_qry_for_sub .="WHERE …

Web Development php
Member Avatar for rjusman90
0
238
Member Avatar for toxicandy

I have the code: $VolunS = array('aro','clergy','intskills','interpt','bus','child','law','cpr','cpryn','data','security','emergency','computer','mechanical','administration','firstaid','faid','translation','translate','construction','basicclean','foodprep','animalcare','heavy','other3'); foreach($VolunS as $skill){ if($person["$skill"] != ""){ echo $person["$skill"] . ", "; //this is the line where echo is replacing $row .= } } And my problem is that I am adding an extra comma at the end of the list. The purpose of …

Web Development php
Member Avatar for diafol
0
163
Member Avatar for ravi142

Hello, I want help for recursive in php which like structure is attachment file.. [1] **Sire (Parent)** > Sub1 ->nChild.. > Sub2 [2] **Dam (Parent)** > Sub1 ->nChild.. > Sub2 ->nChild.. Do you have some example of code so its better for me. Thank You.

Web Development php
Member Avatar for Taywin
0
222
Member Avatar for Tunnleram

Hi, I'm getting an error that I generally understand in a situation that makes no sense to me. I was hoping for some direction - to see if anyone had any ideas. I have a profile page users can edit. When they do it uses user_action.php to commit those changes …

Web Development apache php
Member Avatar for Tunnleram
0
230
Member Avatar for sniigg

Hi, I want to generate an anchor tag <a href="#" class="close"><img src="resources/images/icons/cross_grey_small.png" title="Close this notification" alt="close" /></a> in code behind using c#...but dunno how to do....

Web Development asp.net
Member Avatar for pritaeas
0
1K
Member Avatar for jean_5

I have the following code: isBigInt: function () { var val = bigInt(); if (bigInt(val.toString()).greaterOrEquals("-9223372036854775808") && bigInt(val.toString()).lesserOrEquals("9223372036854775807")) return true; else return false; } I have downloaded the biginteger library in the https://www.npmjs.org/package/big-integer , but this code does not get the correct number typed by the user.

Web Development javascript
Member Avatar for wolfdragon
0
854
Member Avatar for totalwar235

I would like to create an array of objects. I am not sure as to how this would work as my searching through javascript does not give an address of identifier. I can only use javascript as the site is being designed for local use. if it did I would …

Web Development javascript
Member Avatar for wolfdragon
0
139
Member Avatar for ravi142

Hello, In php code generate output completly but when user click on 'PDF' Button then Output generate in PDF file or Click in 'Excel' button then generate Excel file as download. Thank You

Member Avatar for diafol
0
163
Member Avatar for kroken

Hi i didnt find anything about this here on the forum and i cant figure out how to do it myselfe either. i have a homepage runing java with servlets and jsp pages and i want a simple contactform that sends a message from the form to a specific mail. …

Web Development java java-jsp
Member Avatar for harpreetfervaha
0
2K
Member Avatar for davy_yg

Hello, I am looking for a way to place an automatic . (dot) or , (comma) for every multiple of 3. I only find the mask to do so but it requires the user to input the exact amount of numbers: <script type="text/javascript"> $(function() { $.mask.definitions['~'] = "[+-]"; $("#numbermask").mask("999,999,999",{completed:function(){alert("completed!");}}); $("input").blur(function() …

Web Development php
Member Avatar for matrixdevuk
0
240
Member Avatar for Azii

Hi, I have php page, 2.php, which collects the data and dispalys it from previous page , 1.php. In 2.php, I also have html and javaScript, which contains a button, and cerresponding onclick script, which opens the OUTLOOk to send the E-mail with given sendername and subject. But for body …

Web Development javascript php
Member Avatar for broj1
0
205
Member Avatar for tNicknames

How I can display elements of the following object ? e.g : data -> percent_off As I stored following like : $input = file_get_contents("php://input"); $retun_val = json_decode($input); stdClass Object ( [id] => evt_151H4qEfYJJpTpgqdg5eQvIK [created] => 1416575036 [livemode] => [type] => coupon.created [data] => stdClass Object ( [object] => stdClass Object …

Web Development display php
Member Avatar for broj1
0
175
Member Avatar for davy_yg

Hello, In my index.php file front page at first, it has a xampp logo - then in order to erase it I have to place this code: <!-- Favicons --> <link rel="shortcut icon" href="img/icons/favicon_.ico"> <link rel="apple-touch-icon" sizes="114x114" href="img/icons/apple-touch-icon-114x114.png"> <link rel="apple-touch-icon" sizes="72x72" href="img/icons/apple-touch-icon-72x72.png"> <link rel="apple-touch-icon" href="img/icons/apple-touch-icon.png"> by miss leading the favicon …

Web Development apple php
Member Avatar for diafol
0
6K
Member Avatar for mak96

[CODE=php] <?php //get the variables $var = $_POST['query'] ; $trimmed = trim($var); $table = $_POST['table']; //make connection $conn = mysql_connect('localhost','root','123') or die("Error:".mysql_error()); mysql_select_db('sutilities',$conn) or die("Error:".mysql_error()); //delete temp search table $del_table = "drop table search"; #mysql_query($del_table) or die ("Error:".mysql_error()); // Create a MySQL table in the selected database #mysql_query("CREATE TABLE search( …

Web Development mysql php ui-ux
Member Avatar for honeymehta
0
871
Member Avatar for ceeandcee

I have two tables that I would like to work together (stories and events). Stories is a table that is used to produce articles on a website and events is a series of events put into a table. I would like to be able to add events to story based …

Web Development mysql php
Member Avatar for ceeandcee
0
201
Member Avatar for ToniSoft

I am using a Crud plugin and i am having some problems. After i modifie it for my needs i ma having a problems creating a records. Error code is in line 186. this is my code please help.. <?php require 'database.php'; if ( !empty($_POST)) { // keep track validation …

Web Development css-bootstrap html-css php
Member Avatar for ToniSoft
0
216
Member Avatar for lloyd.farrell.7

Hi Everyone, I have the following prepared statement and I am having problems displaying data from my test db Can someone help me out please. $STM = $dbh->prepare('SELECT * FROM tbl WHERE var = :lsecure'); $STM->bindParam(':lsecure', $var); $STM->execute(); $count = $STM->rowCount(); $row = $STM -> fetch(); if($count > 0){ foreach($results …

Web Development php session
Member Avatar for matrixdevuk
0
405
Member Avatar for annya

Dear Friends iam facing a problem in the pagination. It was working fine in my offline wamp server when i moves it to the online it was showing Warning: mysql_real_escape_string() expects parameter 2 to be resource, integer given in /home/pps/public_html/news_and_events.php on line 10 Please help me I have gone through …

Web Development mysql php
Member Avatar for matrixdevuk
0
918
Member Avatar for OtepTheThird

Im new to PHP, i just want to know if theres any rule in php in terms of single statement multiple lines. for example in VB.Net we uses "&_"(w/o the quote) to tell vb.net that it is a single statment and it has a continuation. is there any in php? …

Web Development php sql
Member Avatar for matrixdevuk
0
512
Member Avatar for Violet_82

Hi all, I have visual studio 2008 and as I recently started to use it, I still develop the HTML from scratch and then move it to ASP.NET. Anyway, when I did my last site and uploaded the CSS in visual, I got quite a lot of CSS 3 error …

Web Development asp.net html-css visual-studio
Member Avatar for Violet_82
0
737
Member Avatar for grakovski

Hello. I have one problem with only one text witch shows two times (i want only once) Here is picture: http://i.imgur.com/cfOrBCs.png Maybe the for cycle loops this text and...this is happen. I want to show only once in the middle. Here is code: var matchcount = 4; $.ajax({ type: 'GET', …

Web Development cdn javascript json xml
0
221
Member Avatar for OtepTheThird

Hi its me again =), See the code below: <style> td{ width:150px; } </style> . . . echo'<table> <tr> <td>TITLE</td> </tr> </table> . . . Im trying to style the <td> width in css but php doesnt recognize it. I've also tried this <td style="width:150px">TITLE</td>. Do you have any idea …

Web Development php
Member Avatar for OtepTheThird
0
116
Member Avatar for UK-1991

Hello guys does any one knows about the wordpress. I need to create a referal program in wordpress like someone wants to register on the website and been reffered by someone he or she would be required to provide a referall code so we would be able to see who …

Web Development php wordpress
Member Avatar for lorenzoDAlipio
0
139
Member Avatar for Azii

Hi, I am trying to fetch username from session variable of one php page to another php page. This below code fetch username from login page <?php $uname = $_GET['uname']; @session_start(); if($_SESSION[$uname]) { ?>.... //Remaining Code When I click submit button to go to my next php page I want …

Web Development php session
Member Avatar for broj1
0
316
Member Avatar for Azii

This is regarding the sending E-mail using php and OUTLOOK. I have a "php page" which collect output from previous page. once clicking on send button, it should open my OUTLOOK client, which should have collected data as the body of email.

Web Development email php
Member Avatar for broj1
0
1K
Member Avatar for ZeroEddy

Below is my code. I want to make a calculator using javascript. The script will check weather you enter a diget. If not it will display a message on the screen saying to enter one. However I want the paragragp "answer" to display the message. I cant seem to get …

Web Development html-css javascript
Member Avatar for ZeroEddy
0
466
Member Avatar for jarmouz

Hello , I have this error Deprecated: Function split() is deprecated. How can i resolve this problem. I use explode and preg_split but the problem persist $add=long2ip($result["ip_src"]); $mask="24"; $ipNetmask = $add."/".$mask; list($ip, $netmask) = split("/", $ipNetmask ); $ip_elements_decimal = split("[.]", $ip ); $netmask_result=""; for($i=1; $i <= $netmask; $i++) { $netmask_result …

Web Development php
Member Avatar for jarmouz
0
200
Member Avatar for bbinais

I want to disable the user for 6hrs when he inputs the wrong password 3 times i'm using mysql... please help me... and this is my usercheck.php [code=php] <?php session_start(); include("config.php"); if (isset($_POST['sub'])) { $myusername = $_POST['txtusername']; $mypassword = $_POST['txtpassword']; $name = stripslashes($myusername); $password = stripslashes($mypassword); $myusername = mysql_real_escape_string($name); $mypassword …

Web Development php
Member Avatar for diafol
0
3K
Member Avatar for Ebroxy

Hello, I want to print a letter from a html page. But within the letter, I want it to contain the name of each student on the database. It is the same letter but I want to print/download it having each student's unique name.

Web Development php
Member Avatar for diafol
0
153
Member Avatar for arafath077
Member Avatar for broj1
0
151
Member Avatar for bro_1

how to make php security in the url with the get method for example as media.php?hal=detail&id=1

Web Development php
Member Avatar for veedeoo
0
513
Member Avatar for SimonIoa

I want to put a remember me button on my website in the login page... Any good example?

Web Development php
Member Avatar for SimonIoa
0
144
Member Avatar for razar63

Hi All I have a simple add to shortlist function using php and would like to add a success Alert message so that users know that the item was added to the shortlist. Ive tried the following code without success. // check if the item is in the array, if …

Web Development javascript php
Member Avatar for broj1
0
1K
Member Avatar for bradly.spicer

Hey guys, <?php $url = "https://api.twitch.tv/kraken/streams/greatbritishbg"; $json = file_get_contents($url); $json = json_decode($json); var_dump($json); foreach($json->streams as $stream) { echo $stream->channel->stream . '<br />'; echo $stream->channel->display_name . ' is playing ' . $stream->channel->game . '.<br />'; echo '<a href="http://www.twitch.tv/' . $stream->channel->name . '">Watch Live</a>'; echo '<hr />'; $status = $stream->channel->stream; } //PSUEDO …

Web Development api json php
Member Avatar for bradly.spicer
0
576
Member Avatar for malatamil

mail is not getting to my inbox. while submit the form am getting message as mail has been sent, but after sending i checked my mail am getting mail in spam,how can i get the mail into inbox. index.html <form method="post" name="sentMessage" action="mail/contact_me.php" id="contactfrm" role="form" enctype="multipart/form-data"> <div class="col-sm-4"> <div class="form-group"> …

Web Development php
Member Avatar for malatamil
0
312
Member Avatar for Violet_82

Hello guys, I wonder if you can help. I've got an existing site that I want to "convert" to an ASP.NET one and I gave a good read at the master template tutorial suggested in another thread, but I'm having a few problems deciding what goes in the master page …

Web Development asp.net
Member Avatar for Violet_82
0
401
Member Avatar for Roisin

Hi, I am currently working on an assignment and am stuck on the very end of it. In a previous assignment we created a SQL database and GUI in vs C# for this one we have to turn this into a web service, I have all forms working apart from …

Web Development asp.net gui
Member Avatar for Roisin
0
165
Member Avatar for SimonIoa

Hello i use jquery colorbox to open a pop up window. It works in all browsers except from Safari. Any clue why?

Web Development javascript
Member Avatar for JorgeM
0
484
Member Avatar for Blueie

Hello I would be grateful for some assistance getting the date to appear on my page, please. This is the code in my aspx.vb file: Dim Label As Object Function ReturnDate() As String Dim theDate As String = "" Dim NumericDayofMonth As Integer = Date.Now.Day Dim OrdinalSuffix As String = …

Web Development asp.net
Member Avatar for JorgeM
0
181
Member Avatar for xuexue

Hi Guys! I'm having problem with uploading the file to the server. This is my code. $path = "Files/01 Admin Procedure/" . basename($_FILES["txtFilename"]["name"]); $x = move_uploaded_file($_FILES['txtFilename']['tmp_name'], $path); //Move file to directory if ($x) { echo "<script>alert('File " . basename( $_FILES["txtFilename"]["name"]) . " has been uploaded!')</script>"; } else { echo "<script>alert('Error …

Web Development file-system php
Member Avatar for xuexue
0
140
Member Avatar for logonchristy

[CODE]How to echo html code in php echo not for email... <?php echo '<a href="http://digg.com/submit?phase=2&amp;url='. $_POST["url"] .'&amp;title='.echo $_POST["title"].'" target="_blank"><img src="http://www.virtualdolphintherapy.com/images/digg.png" alt="Digg" width="64" height="63" border="0" /></a>'; ?> how can i make this code to disply in browser page...[/CODE]

Web Development html-amp html-css php
Member Avatar for gptArun
1
1K
Member Avatar for davy_yg

Hello, I would like to create navigation tab like this picture: http://www.innovation.web.id/tab2.jpg I just cannot find a way - to create navigation tab like the design. Any idea how to?

Web Development php web-design
Member Avatar for davy_yg
0
79
Member Avatar for Violet_82

Hi all, I was just wondering, how do I go about making an asp.net application accessible on the internet? The application is also linked to a SQL database (created in visual studio). I have got server space available but I'm not sure where the sql database needs to be copied …

Web Development asp asp.net visual-studio
Member Avatar for JorgeM
0
683
Member Avatar for davy_yg

Hello, I am trying to fix my server file path. After moving my web project file from localhost to the server. There are several errors that appears. One of them is: Destination folder does not exist or no permissions to see it. file_upload_exercise.php define('DESTINATION_FOLDER','c://xampp/htdocs/squprime/administrator/admin/materialstorage/'); if (!@file_exists(DESTINATION_FOLDER)) { $errors[] = "Destination …

Web Development php
Member Avatar for broj1
0
230
Member Avatar for soomro_moon

hello everyone im working on my masters thesis project, i need a help on how to convert md5 password into binary andthen generate a randomly number, then calculate there exclusive OR, i mean that suppose i have attechd the code in this msg. but the PROBLEM here is that it …

Web Development php
Member Avatar for cereal
0
556
Member Avatar for praba_web

i want to print the bill to printer from php mysql database? is it possible? help me please!!!!!

Web Development mysql php printer
Member Avatar for cereal
0
11K
Member Avatar for nish123

jst a small Query..!! . . How to convert string to Date format.. So tht i can get result from database..!!! $date = "mm/dd/yy"; i want in yy-mm-dd format...!!! which function is used for it.!! . . waiting for positive reply..!!

Web Development php
Member Avatar for Aswad_1
1
8K
Member Avatar for myfit

Hello all, I'm code php concern with google map api, run it don't alert error, still marker and display infowindows but map don't display, I need hear some advice or guide to solve it problem. thank for help P/s: Sorry that my ability of English is not good http://i1095.photobucket.com/albums/i472/OLAKEN91/ff_zps9e66a073.png

Web Development api display google google-api php
Member Avatar for veedeoo
0
275
Member Avatar for RonKevinT.Manuela

I'm new to git bash using console2: what Im trying to do here is to "ti build -p android -T device" but at the end it shows me the following error events.js: 72 throw er // unhandled 'error' event ^ Error: spawn OK at errnoException(child_process.js:980:11) at childProcess._handle.onexit(child_process.js:771:34)

Web Development android javascript
0
112

The End.