39,323 Topics

Member Avatar for
Member Avatar for centenond

hi, im just moving all my website that i created from localhost with xampp, i created links like http://website.com/folder/ and when i was working in localhost it worked, it get the index from that folder, but now i pas it to my website and wont work like that, is only …

Member Avatar for centenond
0
246
Member Avatar for itexamstube

i want to develop my website so i want to know what programming language is the best PHP or VB.NET?

Member Avatar for rubberman
0
480
Member Avatar for malatamil

i want to display last 3 months of data. but this query is not working. it showing empty results. please some one help me. $sql8 = mysql_query("SELECT `orderlist_id`, `brandname`, `packsize`, `quantity`, `mrp`, `ourRate`, `Sum`,user_id,userName,date FROM `orderlist` WHERE `user_id`='$userid' AND `userName`='$usern' AND date=DATE(NOW()) - INTERVAL 3 MONTH"); $i=0; while($row8 = mysql_fetch_array($sql8)) …

Member Avatar for Taywin
0
260
Member Avatar for sushmaja.arumalla.9

Disabled or ReadOnly input field shows Stop symbol when mouse overs on it.How to get out of this problem.The look doesn't satisfied. Please help me how to show only cursor symbol when mouse overs on any disabled or read only input fields.

Member Avatar for almostbob
0
262
Member Avatar for hanspeare_1

Hello Daniweb,, I have uploaded an image using the student_id as its filename. The student id is auto-incremented and unique per student_id. Now i am confused why it gives me problem to display it. I have tried. <?php print '<img src="uploads/'.$session_id.'" />' ?> <?php print '<img src="uploads/'.$session_id.".".$ext'" />' ?> <?php …

Member Avatar for hanspeare_1
0
4K
Member Avatar for rjusman90

I HAVE ONE FORM IN THIS I AM INSERTING AND UPDATIONG BOTH, I WANT TO RETAIN the value of combox box when php validations occurs <td>Page Id</td> <td><select name='pageID' class="select"> <option value='0' >select any page</option> <?php $sql10 = "SELECT ID,Title FROM page"; $val=$PageId?:''; $rs = mysql_query($sql10) or die(mysql_error()); while($row = …

Member Avatar for Webville312
0
227
Member Avatar for davy_yg

Hello, url: http://localhost/elearning/administrator/admin/study_progress_table.php?study_package_id=1 Error appears: Notice: Undefined index: delete in C:\xampp\htdocs\squprime\administrator\admin\study_progress_table.php on line 96 line 96: if (!empty($_REQUEST['study_package_id']) && $_REQUEST['delete']=='yes' && isset($_REQUEST['delete'])) How to fix it?

Member Avatar for pritaeas
0
62
Member Avatar for hxinen

In reference to this: http://sqllessons.com/categories.html *Change parentid NULL to 0* Let's say I have 6 levels of subcategories. How do I have chained select dropdown based on the main category which has a 0 value under parentid, then show it's subcategoryLevel1 > SubcategoryLevel2 > and so on. Stops when there …

Member Avatar for pritaeas
0
184
Member Avatar for light_yagami

hye guys im new here. how do i want to display data from database to web page based on login ?example i already key in john as username and password as blahblahblah . so after login i want to go another page (lala.php). at lala php , i want it …

Member Avatar for Acurapassion
0
706
Member Avatar for Acurapassion

Hey guys, so here's what I'm trying to do: I've made an HTTP script in the game Second Life, it uses an application/x-www-form-urlencoded url to send information to my Php script on my website. Here's the script: <?php define('DB_NAME', 'vangua01_access_list'); define('DB_USER', 'vangua01_admin2'); define('DB_PASSWORD', 'askljflnfldsakn'); define('DB_HOST', 'localhost'); $action=$_POST['action']; if($action == 'connect') …

Member Avatar for Acurapassion
0
772
Member Avatar for infoitmanoj

1. <?php 3. /* 4. $con = mysql_connect("localhost","root",""); 5. if (!$con) 6. { 7. die('Could not connect: ' . mysql_error()); 8. } 9. mysql_select_db("nvron",$con); 10. */ 13. $con = mysql_connect("localhost","nvronusr","DBpwd!@#"); 14. if (!$con) 15. { 16. die('Could not connect: ' . mysql_error()); 17. } 19. mysql_select_db("nvron", $con); 20. $DOWNLOADPATH='C:\Users\LENOVO\Desktop'; // …

Member Avatar for dinhunzvi
0
4K
Member Avatar for centenond

hello evryone so i just finished my website, the problem is ive been creating this website on localhost with xampp and all my the database i created is in there, is any how a way to copy my tables on my ipage mysql database website? i just need tables and …

Member Avatar for centenond
0
130
Member Avatar for Keyra Lee

hi! i'm new here..my english is poor..:'( i'm doing my industrial training..i just want to ask..how to make a selection: *negeri = state * my question is by using these code.. --> how to make a state select then the branch will appear together if related? hope my english is …

Member Avatar for Keyra Lee
0
208
Member Avatar for accra

Hi, i found this code [online](http://www.macrostash.com/2011/09/17/demo-use-a-php-mysql-database-to-load-markers-on-a-google-map/#comment-2675). After installing and running code on my website, the screen shows nothing back, though code is firmly in place. <script type='text/javascript' src='jquery-1.6.2.min.js'></script> <script type='text/javascript' src='jquery-ui-1.8.14.custom.min.js'></script> <style> BODY {font-family : Verdana,Arial,Helvetica,sans-serif; color: #000000; font-size : 13px ; } #map_canvas { width:100%; height: 100%; z-index: 0; …

Member Avatar for accra
0
429
Member Avatar for kindo

Hello Pals... Help with this code...I am unable to hold Angularjs tag with Php variables $vid = "{{task.vid}}"; //this where the Errors comes in :( $s = $db->query("SELECT * FROM reply WHERE post_id_fk = '$vid'") or die($db->error.__LINE__); Please how can i go about this? Thank you!

Member Avatar for kindo
0
237
Member Avatar for everton.retweets

Hi Everyone, I am trying to write text to a image and I would like to save that image as a new file with the text in place. I have been doing some google'ing and testing but im getting confused a wee bit. The two scripts I have found both …

Member Avatar for Taywin
0
277
Member Avatar for johnef_sh

I want if the user clicks submit to return the the selected value when the form reloads that what I try and no luck <?php $getData = $db->prepare("SELECT * FROM first_university_degree_list"); if ($getData->execute()) { $res = $getData->get_result(); while ($data = $res->fetch_array()) { ?> <option value="<?php echo $data['univ_degree']; ?>" <?php if($FirstUniversityDegree …

Member Avatar for almostbob
0
202
Member Avatar for phpBeginner4

here i'm working with php regular expression. in this project my leader said use only regular expression instead of PHP predefined function. i know the PHP string functions are simple to find output. but here i need to use regular expression. this is the equivalent php function $refined_output = str_replace(' …

Member Avatar for diafol
0
410
Member Avatar for Nabeel_1

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> </head> <body> <form action="#" method="post"> UserName: <input type="text" name="username"><br /> Passward: <input type="text" name="passward"><br /> Name: <input type="text" name="name"> <input type="submit" name="Submit" value="Sent"> </form> <?php $con=mysql_connect("localhost","root","","firstphp"); if(isset($_POST['Submit'])) { $UserName = $_POST['username']; $Password …

Member Avatar for pritaeas
0
454
Member Avatar for senjoy2003

hi when i am tring to run this script then could not setup cookies don't know why somebody plz help <!doctype html> <html> <head> <title>Login</title> </head> <body> <p><a href="aba.php">Register</a> | <a href="login.php">Login</a></p> <h3>Login Form</h3> <form action="" method="POST"> Email: <input type="text" name="email"><br /> <input type="submit" value="Login" name="submit"><br /> </form> <?php if(isset($_POST["submit"])){ …

Member Avatar for pritaeas
0
111
Member Avatar for johnef_sh

I am trying to validate my form fields and redirect the user to success page so this is the PHP code if (empty($_POST['experiences'])) { $error['experiencesErr'] = "Experiences Required"; } else { $experiences = check_input($_POST['experiences']); if (!preg_match("/^[0-9_a-zA-Z ]*$/", $experiences)) { $error['experiencesErr'] = "Only letters, numbers and '_' allowed"; } } $courses …

Member Avatar for johnef_sh
0
276
Member Avatar for davy_yg

Hallo, I am trying to understand the nature of using ini_set : ini_set("SMTP", "smtp.indonusa.net.id"); So if I delete the: SMTP = smtp.indonusa.net.id, will it works? Is it the same thing like writing that code to php.ini? php.ini SMTP = smtp.indonusa.net.id Thanks.

Member Avatar for cereal
0
78
Member Avatar for ronaldpaul

Hi, I've done my bachelors in Computer Science and was working for the past 2 and a half years in PHP and MySQL. Now I'm planning to change my career path to IBM Websphere Administration. However, changing directly from PHP to Websphere seems quite impossible. So I've planned to take …

Member Avatar for jwenting
0
1K
Member Avatar for ebanbury

Hi All I have created a simple php rss feed with works fine. However what I would really like is for the rss feed to dynamically change based on a search form. i.e. User searches for all properties for Rent, of Apartment type only, clicks on the rss icon which …

Member Avatar for guruparthi
0
1K
Member Avatar for mathiaslisborg.jakobsen

one who can solve this php code ^ echo "<option><?php echo htmlspecialchars( $Player[ 'Name' ] ); ?></option>"; ^ And the error on the page http://gyazo.com/aaf5d029a1da9d52ea3341dd01e55960

Member Avatar for Mocabilly
0
356
Member Avatar for rjusman90

<?php include"header.php"; if(empty($_SESSION['UserName'])){ header("Location: login.php"); exit;} $start=0; $limit=5; $page=''; $tbl_name="menu"; $targetpage = "menu.php"; //your file name (the name of this file) if(isset($_POST['fullname'])){ $term=$_POST['fullname'];} if(isset($_GET['page'])){ $page=$_GET['page']; $start=($page-1)*$limit; } { if(isset($_POST['Submit'])){ $query=mysql_query ("select * from $tbl_name where MenuName like '%$_REQUEST[fullname]%' LIMIT $start, $limit"); $search_num_rows = mysql_num_rows($query); echo "<div class='main'>"; echo"Found " .$search_num_rows. …

Member Avatar for diafol
0
187
Member Avatar for nikunjgupta01

Write a function that outputs all the words ending in a "s", in a sentence sent to it as a parameter.

Member Avatar for diafol
0
137
Member Avatar for santunu23

hi , it's joy i want to learn about error messege in php i mean if we find user already exits on the database then how to display an error messege on same page same page means like displaying another page on the main page like pop up messege.thanks in …

Member Avatar for peeyush.budhia
0
92
Member Avatar for davy_yg

Hallo, I am trying to create device setting which includes: microphone, webcam, and speaker check features. Also if possible also being connected to speedtest.net to check internet connection speed. How to do so? Thanks before.

Member Avatar for cereal
0
162
Member Avatar for davy_yg

[Send email through command prompt](http://adiwazsha.wordpress.com/2008/05/16/kirim-email-lewat-cmd/) Sorry in different language: —-> s.itb.ac.id = intended mail server that we intend to send email —-> 25 = SMTP port This is the syntax that I tried: ---------------------------------------- 220 BLU437-SMTP35.smtp.hotmail.com Microsoft ESMTP MAIL Service, Version: 8.0.92 00.16384 ready at Fri, 15 Aug 2014 03:57:02 …

Member Avatar for pritaeas
0
218

The End.