133 Posted Topics

Member Avatar for jcyarra

I see only a block of code, without any description for what you want Can you provide us with more details ?

Member Avatar for diafol
0
1K
Member Avatar for kiLLer.zoh_1

I am not sure what you want, but I'll suppose that you want to eliminate the first element. If yes, then add: while($r=mysql_fetch_array($pc) && $i != 0){ .... } or you can use the limitation in the query if you want to eliminate the negative number and the zero, then: …

Member Avatar for diafol
0
205
Member Avatar for joshl_1995

First of all the server is running linux or windows ? For linux you can use the lampp which is provided by the same company that created the xampp. To access the server from another computer, type the ip of the server in the browser so you will be able …

Member Avatar for joshl_1995
0
476
Member Avatar for aVar++

why don't you keep both -moz- and -webkit- at the same time ? and why are you using them .. you can do this with simple css no need for moz and webkit, personally i use them only to round corners

Member Avatar for cmps
0
178
Member Avatar for yavindu

I didn't really understand what you want. But you have lot of errors in this php code: <?php $system_date = Date("m/d/Y"); echo '<input type = "Date" value ="' . $system_date . '">'; ?>

Member Avatar for cmps
0
300
Member Avatar for onon.innocomzzy

There are a lot of tutorials on google. Choose your language and start searching !

Member Avatar for Ancient Dragon
-3
124
Member Avatar for L-D

I suggest to add "or die(mysql_error())" after **mysql_query(...)** to understand what is the error

Member Avatar for L-D
0
744
Member Avatar for son jo

If you are new to this field, I recommend you to read a PHP & MySQL book (For dummies is a good collection) or buy on online tutorial. Here are the steps you need to learn: 1- Basic PHP code 2- Learn the SQL operations (select, insert, update, delete) 3- …

Member Avatar for broj1
0
433
Member Avatar for BadManSam

to do an online offline system u nees to set a column for the last_active to store when the user was lastly active (this is used in case the user close the browser without signing out) and u need to set another column is_online to check if the user is …

Member Avatar for BadManSam
-1
799
Member Avatar for veniceofnorth

There are lot of wordpress tutorials for biginners on youtube, check this link: https://www.youtube.com/results?search_query=wordpress+tutorial+for+beginners&filters=playlist&lclk=playlist And trust me it's one of the easiest open source CMS to create a website (usually a blog). Just download it from the official website http://wordpress.com/ , then intall it on your local host and check …

Member Avatar for rajesh_9
0
166
Member Avatar for davy_yg
Member Avatar for ehpratah

okay i think that's becuz the $_POST['Name'] is not set in print.php. actually u are redirecting to the page print.php and not submitting the input values ... In other words u may use the post in the save.php cuz the form action is pointing to save.php but not in print.php. …

Member Avatar for happygeek
0
4K
Member Avatar for matt.harding.14203

Try this: hyp = (hyp.charAt(0)+"").toUpperCase() + hyp.substring(1); System.out.print(hyp);

Member Avatar for cmps
0
2K
Member Avatar for <M/>

Thank you, it can be helpful if the browser does not support javascript or it's disabled ...

Member Avatar for broj1
0
165
Member Avatar for Pravinraj

Very easy,here's a detailed connection PHP & MySQL: //$variables to use in the connection $host = 'localhost'; //Most of the time it''s 'localhost' but may be different $user = 'root'; //username $pass = ''; //password $db = 'daniweb'; //first you have to make the connection, if not made => mysql_error() …

Member Avatar for cmps
0
260
Member Avatar for mpc123

$txtname = ucwords(strtolower($row ['First.Name'])) . ' '. ucwords(strtolower($row ['Last.Name'])); remove the replace function ... Don't complicate your life ... :)

Member Avatar for mpc123
0
145
Member Avatar for eltonpiko

you can easily fix that by using the percentage %. Let's say that the background div has an id of 'context', then the css would contain: #context:{width:100%}; if you don't want to complicate your self by opening the css file and save and refresh. Use the firebug plugin on firefox …

Member Avatar for <M/>
0
147
Member Avatar for Malymieczek

what does it give you when you enter the ip on the browser from the other pc, for example when entering 192.168.x.x ? Is it page not found or access forbidden or what?

Member Avatar for TomH.PG
0
316
Member Avatar for davy_yg

It's very easy, just use photoshop to crop the button and the box field. Then in HTML create a form that contain a input for the search box and submit button for the search, to do so: <form method="POST" action="search.php"> <input name="search" value="Search keyword ..." type="text" id="searchb"> <input name="sbutton" value="Search" …

Member Avatar for <M/>
0
116
Member Avatar for Dharmendra_1

Unfortunately it won't work for < IE9, but if border radius is really a problem, then make the corners with photoshop and save them as images.

Member Avatar for cmps
0
141
Member Avatar for cmps

Hey all!! I am thinking of creating a website that may contain some buying/selling items, so I was wondering which framework is the best for shopping online. I have some experience with codeigniter, but I was using it for its MVC structure which organizes and uses files more efficently. Anyway …

Member Avatar for diafol
0
189
Member Avatar for devianleong

Hello, okay I'll fix this to make it exactly match the HTML code, but I am interested in who gave you this code ;) the recursion is smart ... I will assume that the categoryList() is the function to call to display the navigation menu function hasChild($parent_id) { $sql = …

Member Avatar for diafol
0
272
Member Avatar for nightmareman

<?php $mysql_host = "***"; $mysql_database = "***"; $mysql_user = "***"; $mysql_password = "***"; mysql_connect($mysql_host,$mysql_user,$mysql_password); mysql_select_db($mysql_database); $query = "SELECT * FROM people coming"; $result = mysql_query($query); while($w=mysql_fetch_array($result)) { echo $w['Name']; } ?> okay lets see ... it's recommended that you don't insert spaces in the table names, but I think you …

Member Avatar for cmps
0
188
Member Avatar for LEAN.HEART.YOU

There are many books that can help (For dummies is a good start). Good Luck

Member Avatar for LEAN.HEART.YOU
-1
161
Member Avatar for cmps

Hello, I want to create tables in database (using SQL) and add foreign keys to each table refering to the other one. For example: CREATE TABLE ONE( ID INT NOT NULL, NAME VARCHAR(20) NOT NULL, TWOID INT NOT NULL, PRIMARY KEY (ID), FOREIGN KEY (TWOID) REFERENCES TWO (ID) ON DELETE …

Member Avatar for pritaeas
0
365
Member Avatar for Ekerichard101
Member Avatar for toldav

Why I have a feeling that this is your homework ;) anw heres a semi-answer ... 1 . the diff btw this.dollars and otherMoney.getDollars(): this.variable means refers to the variable in the current class where this.variable appears. getDollars() is a function for the composite otherMoney which is also of type …

Member Avatar for toldav
0
128
Member Avatar for homebrewers.retail

Here the full tutorial https://www.youtube.com/watch?v=FmN4Pj3VWpc It worked for me I am using Windows 7 and ubuntu 12.04 If you have already installed ubuntu incorrectly, format the part of the hardisk reserved for ubuntu and follow the steps in the video :) Good Luck

Member Avatar for vital.niyomugabo
0
312
Member Avatar for lauraroxi

Okay the 2 classes are `Node` and `BST` PSEUDOCODE: **class Node has** value of type integer left and right node of type Node **class BST has** root of type Node Insert method using recursion (prefered recursion) Find method using recursion (remember it's a tree, so recursion should be your friend …

Member Avatar for cmps
0
186
Member Avatar for kakalahori

I think you have to define a variable of type file and pass it as parameter to the fgets(): <?php $file = fopen("file/games.csv","r"); // Dump the games.csv file into an array $games = fgets($file); // Parse the array foreach($games as $game) { echo "{$game}"; } fclose($file); ?>

Member Avatar for diafol
0
223
Member Avatar for sayvari

If you want to design your own website you have to know: PHOTOSHOP HTML CSS If you want a blog with pro templates: wordpress (best blog framework) If you want free hosting: ex: www.yourname.something.com www.000webhost.com If you want paid hosting: ex: www.yourname.com www.bluehost.com www.godaddy.com To learn PHOTOSHOP HTML CSS you …

Member Avatar for stultuske
0
818
Member Avatar for YASHASHYA

Maybe the way you coded it is not the best way, but anyway you can use the height: #px; overflow:hidden; to cut the unnecessary space.

Member Avatar for cmps
0
103
Member Avatar for amith_ami

I think this is what you are looking for: http://www.problogdesign.com/wordpress/load-next-wordpress-posts-with-ajax/

Member Avatar for McLaren
0
168
Member Avatar for infoitmanoj
Member Avatar for navp

Do you want to put the footer at the extrem bottom ? if yse: change: <body> => <body style="position:relative;"> <footer> => <footer style="position:absolute;bottom:0px;"> (maybe you are using DIV for the footer, if so do the same but footer become div)

Member Avatar for navp
0
242
Member Avatar for cmps

Hello all. Currently I develop PHP website, and I do simple java programs. Since I will continue learning more and more java, I decided to learn JSP/Spring MVC (Don't really know how Spring MVC Framework uses JSP, check next paragraph) combination of my web knowledge and the Java programming language. …

Member Avatar for cmps
0
256
Member Avatar for nstrazimiri

Try this code, it worked for me ;) <?php $total= "AA AA AA AA BB BB BB BB BB BB CC CC BB BB BB BB AA AA CC CC DD DD DD DD" ; $keyarr=explode("\n",$total); $int=sizeof($keyarr); $i=0; $tmp = array(); $cur = 0; $found = false; while($i<$int){ $found = …

Member Avatar for nstrazimiri
0
182
Member Avatar for ggeoff

Dear ggeof, just remove every thing related to positionning. Positionning is like forcing a block (div in this case) to be at a specific position. Try to avoid this option in css for simple website. In addition, positionning could create a problem in the display on different browsers when used …

Member Avatar for ggeoff
0
468
Member Avatar for cmps

Hello, well this suddenly surprised me .. dunno why ... i was trying to solve the binary-tree implementation ... where i noticed using root.left = new node bla bla My question insert(Node root,int value) root.left = new node(null null value) Etc ... The function doesnt create a copy of the …

Member Avatar for cmps
0
235
Member Avatar for sobias

Dear Sobias, the remember me check box is to create a cookie in the browser so the user stay logged in until he/she kill the cookie by logging out or if the cookie expires in x Days. To do this from your website to login to another website: - You …

Member Avatar for sobias
0
10K
Member Avatar for Fiorentino01^

Dear 'Fiorentino01^', there are 2 ways to do this: - Write the full path Ex: <a href="http://www.domain.com/web-site/2/home.html">go to Home</a> (This will be placed in the page index.html) and same thing with home.html - Write the path starting from the location of the file you are coding Ex: you are coding …

Member Avatar for ibra.kitandwe
0
223
Member Avatar for garyjohnson

Hello, it's enough, you are comparing username and password from user to database, the only two input that can identify the user are username and password, but make sure you are making the username unique.

Member Avatar for garyjohnson
0
257
Member Avatar for techxaidz

Dear 'techxaidz', the problem is not very clear, what I understood is: you have to make a class Library then create classes: Book, Magazin etc ... that will inherite attributes and methods from the Library class. But the problem is that the relationship of the inheritence is "**is**" For example: …

Member Avatar for stultuske
0
530
Member Avatar for kimmi_baby

Dear kimmi_baby, I can't see the difference in width btw the navigation/Meny bar and the slider. Please be more specific so we can help you :)

Member Avatar for <M/>
0
77
Member Avatar for earlxph8

Dear earlxph8, if you know how to use html this will be very easy for you. In html file you directly write `<p>Sample test</p>` however in PHP, you have to echo the html: `<?php echo "<p>Sample test</p>";?>` When you echo a string, it will be treated as a html text, …

Member Avatar for earlxph8
0
733
Member Avatar for Wailintun

Dear Wailintun, this is knonwn for the Slider or S3Slider, try to google them and you will easily find the free source code for it. It's not difficult, try to understand it before the copy paste ;)

Member Avatar for cmps
0
155
Member Avatar for Ilda

Dear Ilda, I don't really understand, you need help in what data can be added to the database or how to create a database from zero ? Please be more specific, Thank you :) NB: You have to put some self effort and of course we will help you :) …

Member Avatar for Ilda
0
849
Member Avatar for cmps

Dear Daniweb, I am facing a problem with daniweb forum, it keeps crashing randomly (only when I am browsing the website, if I am not on the website tab or not moving the mouse, nothing happens). I am using firefox mozilla OS: UBUNTU and WIN7 (same computer partition: ubuntu 14 …

Member Avatar for cmps
0
265
Member Avatar for pspwxp fan

Ancient Dragon is totally true, and parallel processing makes the throughput even faster (Computers with multiple processors). But everything depends on the OS and the program running (Programmers can distribut tasks of there programs on different processors to make execution faster). A single processor cannot execute multiple instructions in exactly …

Member Avatar for cmps
0
102
Member Avatar for vizz

Dear vizz, check this link for the full ways to convert integer to string in php http://stackoverflow.com/questions/1035634/converting-an-integer-to-a-string-in-php

Member Avatar for vizz
0
588

The End.