71 Topics

Member Avatar for
Member Avatar for salenajames98

The world has gone mobile! People always carry their phones with them. If you want to connect with your customers where you get the most response, then you should think about investing in a customized mobile app for your brand, I recently started a business and launched a website, but …

Member Avatar for rproffitt
-1
302
Member Avatar for mattyd

I am recieving a notice(s) multiple times when running a file: Notice: Undefined index: Telephone in C:\xampp\htdocs\demo\nest_Demo_thrasher.php on line 111 Notice: Undefined index: eMail in C:\xampp\htdocs\demo\nest_Demo_thrasher.php on line 112 I have researched this and the ways to solve it. Most ways involve isset it seems, but none of my code …

Member Avatar for pritaeas
0
1K
Member Avatar for codingin

I have connected to database link below $db_host = "localhost"; $db_username = "root"; $db_password = ""; $db_name = "db"; $sql = new mysqli($db_host,$db_username,$db_password,$db_name); And I refered to it on a different page like: function user_exists($username){ $username = sanitize($username); $query_user = $sql->query("SELECT COUNT(`user_id`) FROM `users` WHERE `username` = '$username'"); return (mysqli_result($query_run,0)==1)? …

Member Avatar for codingin
0
557
Member Avatar for iamjin100

I am trying to insert data on my database, but when i do, it says UNDEFINED INDEX HTML code here <form action="insert.php" autocomplete="on"> <h1> Sign up </h1> <p> <label for="username">Your username</label> <input id="username" name="username" type="text" /> </p> <p> <label for="emails" > Your email</label> <input id="emails" name="emails" type="email" /> </p> <p> …

Member Avatar for Alicera Nz
0
405
Member Avatar for Rahul47

Hey guys, here I am starting my journey into javascript, when this stupid bug is annoying me. Following is my piece of code: <html> <head> <title> Using 'this' in Javascript.</title> </head> <body> <script type="text/javascript"> var name={ firstName:"Foo", lastName:"Bar", showName:function(){ console.log(this.firstName +" "+this.lastName); } }; name.showName(); alert(name.lastName); </script> </body> </html> Problems: …

Member Avatar for Rahul47
0
209
Member Avatar for Tycellent

Hey everybody, As of this moment i'm trying to work out how to approach a state design. I've come across Source Makers' site [http://sourcemaking.com/design_patterns/state/cpp/1](http://sourcemaking.com/design_patterns/state/cpp/1) and am testing out the example. The program works fine when it's all in 1 file, although i had to change some stuff in main, but …

Member Avatar for rubberman
0
3K
Member Avatar for gcardonav

Hi everyone, I been looking around how to solve this problem but I am stuck. I asked my professor and he is stuck. Can someone look at the code and see why I am getting this error? Thank you [Click Here](https://onedrive.live.com/embed?cid=C2E1FEBBE16A4502&resid=C2E1FEBBE16A4502%211354&authkey=ANpXFPvY6ss3LrY) Here is my HTML <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> …

Member Avatar for Taywin
0
537
Member Avatar for nadiam

hey guys so im getting > Notice: Undefined index: spouse-salutations in D:\Xampp\htdocs\EMS2\add_contact_process.php on line 18 > Notice: Undefined index: spouse-state in D:\Xampp\htdocs\EMS2\add_contact_process.php on line 24uoted Text Here > Notice: Undefined index: child-salutations in D:\Xampp\htdocs\EMS2\add_contact_process.php on line 30 > Notice: Undefined index: child-state in D:\Xampp\htdocs\EMS2\add_contact_process.php on line 36 and its really …

Member Avatar for nadiam
0
792
Member Avatar for Tsaou

I keep getting loads of linker errors that probably have something to do with virtual-functions/definitions and/or static class members... I've seen several relevant posts but none of the solutions suggested work, can you see wht the problem is here? My projects consists of 3 files: BALLS.H #include <iostream> using namespace …

Member Avatar for Ancient Dragon
0
503
Member Avatar for Tinnin

Hi all, I've bought the book "Objective-C Programming - The Big Nerd Ranch Guide" and I'm running through the beginning chapters which just regard C. I'm doing this on my laptop running linux as I don't have a Mac (yet). I'm having trouble with this code: #import <stdio.h> #include <readline/readline.h> …

Member Avatar for Tinnin
0
2K
Member Avatar for Doogledude123

`final PerspectiveCamera camera = new PerspectiveCamera(true);` The constructor PerspectiveCamera(boolean) is undefined. http://download.java.net/jdk8/jfxdocs/javafx/scene/PerspectiveCamera.html Clearly says that it can accept a boolean for "verticalFieldOfView" Why is Java giving me this error?

Member Avatar for Doogledude123
0
347
Member Avatar for Rahul47

The expected outcome dosent agree with result. Following is the code snippet. int a,c; a=10; c=0; c=(--a)+(--a); printf("C: %d", c); printf("\nValue of a: %d", a); I expected C to be 17 i.e (9+8), but it comes out to be 16. And a becomes 8 as expected. When expression is changed …

Member Avatar for N1GHTS
0
405
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 …

Member Avatar for noobeyne
0
303
Member Avatar for nadiam

<table width="700" border="1" bordercolor="#FFFFFF" bgcolor="#000000"> <tr bgcolor="#FFFF66"> <td height="28" colspan="3" align="center"><strong> My Blood Pressure Data</strong></td> </tr> <tr bgcolor="#FFFFFF"> <td>Date:</td> <td>:</td> <td><?php echo $row["date"];?></td> </tr> <tr bordercolor="#FFFFFF" bgcolor="#FFFFFF"> <td width="170">Select a time(12Hours)</td> <td width="3">:</td> <td><?php echo $row["time"]; ?></td> </tr> <tr bordercolor="#FFFFFF" bgcolor="#FFFFFF"> <td>Systolic mm Hg</td> <td>:</td> <td><?php echo $row["systolic"]; ?> </td> …

Member Avatar for PsychicTide
0
280
Member Avatar for davidjennings

Hi All having a problem with the following statement " Notice: Undefined index: Username in C:\wamp\www\david\remoteaccess\index.php on line 6". I have tried defining Username in a number of ways, but I seem to missing something. Any help would be great Thanks in advance Thanks <?php session_start(); include("includes/utilities.php"); include("includes/functions.php"); $username = …

Member Avatar for davidjennings
0
367
Member Avatar for davidjennings

Hi all, I am working on the following code and I am having a problem with defined variables. On the output on the Submitted and Username Inputs as being undefined. I have added $username = (isset($_POST['Username'])) ? $_POST['Username'] : ""; at the start of the function but not suppressed. Thanks …

Member Avatar for davidjennings
0
349
Member Avatar for sing1006

here is my function.when i click on the readp button,it will show undefined variable,but still can show out the string in txt file. <?php if(isset($_GET['readp'])){ readinfo($fname,$lname,$phone,$email,$mname,$gender,$city,$country,$fax,$exp); } ?> <?php function readinfo($fname,$lname,$phone,$email,$mname,$gender,$city,$country,$fax,$exp){ $info=file('log.txt'); for($i=count($info)-1;$i>=0;--$i){ echo cleanOutputData($info[$i])."<br>"; } } ?>

Member Avatar for sing1006
0
307
Member Avatar for abhi10kumar

/* `I have some dynamic checkboxes and corresponding textboxes. When a user ticks a checkbox and enters data into the corresponding textbox and submits, the value of the checkbox and textbox should be inserted into the database. I can insert the checkbox values perfectly, but the textbox values have issues. …

Member Avatar for AndrisP
0
2K
Member Avatar for aido89

Hi Please see code below, when I query my db I am getting an unefined variable issue, any ideas? I am quiet new to PHP so please help. mysql_connect("localhost","root",""); mysql_select_db("db"); $id = intval($_GET['id']); $res = "SELECT * FROM table WHERE id=$id"; echo "<table>"; echo "<tr>"; echo "<td>"; echo "<h4>".$row['item']."</h4>"; echo …

Member Avatar for broj1
0
225
Member Avatar for sanbhu2105

hello guys, i have 2 tables - tblproduct and tblretprod. prod_id is common in both. i am retrieving records from the tables to display with edit and delete options beside each record displayed. i created an update.php and updprod.php (for edit). update.php <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> …

Member Avatar for sanbhu2105
0
676
Member Avatar for grouptechindore

<?php if(isset($_POST['submit'])) { require_once 'connect.php'; $query=mysql_query("SELECT 'admin_name.admin_name','admin_name.admin_lastname','admin_name.admin_creattime', 'admin_detail.admin_pass','admin_detail.admin_phone','admin_detail.admin_email','admin_detail.admin_gender' FROM admin_name,admin_detail "); if(!$query) { die('nt good fail to select'.mysql_error()); } else{ while($row=mysql_fetch_row($query)): $name = $row['admin_name']; $last = $row['admin_lastname']; $acctime = $row['admin_creattime']; $pass = $row['admin_pass']; $phone = $row['admin_phone']; $mail = $row['admin_email']; $gen = $row['admin_gender']; echo $name." ".$last." ".$acctime." ".$pass." ".$phone." ".$mail." ".$gen; …

Member Avatar for pritaeas
0
284
Member Avatar for joeyliew7

How to solve the undefined index error? i have tried to make hidden field but not working also.. <?php if($nume==0) { echo "You currently have no item to show"; } else if(isset($_GET['msg'])) { $msg = $_GET['msg']; if($msg!='') { echo '<table border="1"> <tr> <td><font color="red">'.$msg.'</font></td> </tr> </table>'; } } ?></font></strong></p> <table …

Member Avatar for joeyliew7
0
457
Member Avatar for James19142

I'm writing classes for widgets on a ui. While planning what I would do, I realized majority of the of the classes would look very similar. What I decided to do was to use a macro that takes a few parameters to define the similar parts of the class bodies. …

Member Avatar for James19142
0
806
Member Avatar for joeyliew7

I want to have this table and user will be able t delete row of data if they wish to with the checkbox. But the errors i don't know how to solve: *Notice: Undefined index: itemcode in /home/lh026/public_html/pro1/ostock.php on line 153* *Notice: Undefined index: saiz in /home/lh026/public_html/pro1/ostock.php on line 154* …

Member Avatar for joeyliew7
0
2K
Member Avatar for rubai

I am new to php, just made a simple calculator. when I don't select the radio buttons; a notice come up. Notice: Undefined index: r in E:\MY LOCAL SERVER\htdocs\php practise\calculator-form-advanced.php on line 59 Also I want show results in this input section <p> <label for="result">Result</label> <input type="text" value="" /> </p> …

Member Avatar for dinhunzvi
0
516
Member Avatar for J-P1988

Hello, When i compile i get theses undefiend reference to extern lobal variable. In my code, i try to do an file that define it and extern it on SystemeBataille.cpp call th definitor on main.cpp but same error. If i place my extern on an specific function exemple SystemeBataille::placeExternHere i …

Member Avatar for J-P1988
0
6K
Member Avatar for pucivogel

I am following this tutorial http://www.css-resources.com/code-for-php-photo-gallery.html to create php photo gallery but i get errors undefined index photos, categories and cy when i run this code, it gets the category names in a textarea and adds them in the db, in the output also says no database selected but i …

Member Avatar for michel.cote
1
298
Member Avatar for delta_frost

<?php $filename = $_FILES['file']['name']; $tempname = $_FILES['file']['tmp_name']; if(isset($filename)){ //echo $filename; $directory = 'E:/php_uploads/'; move_uploaded_file($tempname,$directory.$filename); echo 'Done'; } else{ echo 'No file selected'; } ?> <form method="POST" action= "fileupload.php" enctype = "multipart/form-data"> <input type="file" name="file"><br/><br/> <input type="submit" value="Submit"> </form> The enctype is correct.The element names correspond to those in the php …

Member Avatar for delta_frost
0
201
Member Avatar for sblass92

Hi all, To begin, I'm not certain this is the proper place to start this question, but I believe this to be a linux-linker related error rather than a code based one. I've also searched far and wide for a solution online, but others have solved the problem simply include …

Member Avatar for sblass92
0
265
Member Avatar for dannybarh

this my script.When i do this,it works fine ` $query = "select * FROM aboutusx order by title desc"; ` but when i do this `$query = "select * FROM aboutusx WHERE myaccountid='$myid' order by title desc";` then i get this `Notice: Undefined variable: start in D:\xampp\htdocs\kwa\admin\userindex\inc\ps_pagination.php on line 176` …

Member Avatar for pritaeas
0
481

The End.