133 Posted Topics

Member Avatar for labibah

Dear labibah, I will consider that you are not using "admin" as username, because this is in the first if which doesn't contain the echo for the menu.php link. else { $db= connect_db(); $sql= "SELECT id,judge_name,category_code,cellphone FROM judges WHERE email='$email'"; // $db= connect_db(); $rs = mysql_query( $sql); /*TRY TO ECHO …

Member Avatar for labibah
0
144
Member Avatar for junji

Dear junji, I googled some bubble logos [Google](https://www.google.com/search?num=10&hl=en&site=&tbm=isch&source=hp&biw=1301&bih=649&q=logo+bubble&oq=logo+bubble&gs_l=img.3..0l2j0i5j0i24l4.1891.3683.0.3870.11.11.0.0.0.0.228.1172.5j3j2.10.0...0.0...1ac.1.My2GkakGQ3c), personally I found 2 things that may not look good in this logo. Lot of small bubbles: try to make them bigger - Decrese the number of bubbles Not realistic and color: Bubbles doesn't look realistic, I don't think realistic bubbles will …

Member Avatar for junji
0
185
Member Avatar for Bassznapper

Dear bassznapper, you can learn this kind of coding by reading the documentation in Smarty or any other php template sys. Personally I don't like this kind of (not real programming). If you learn a php template system you will not be able to learn or understand any programming language. …

Member Avatar for cmps
0
101
Member Avatar for garyjohnson

Dear 'garyjohnson', I think you are talking about something like this: The user enters: hello this is amir bwb When echoing this, it will be displayed on one line only: hello this isamirbwb to fix this, you should use the function nl2br(); echo nl2br($description); Hope this respond to your question. …

Member Avatar for garyjohnson
0
318
Member Avatar for McLaren

Dear SPeed, try to remove the padding-left: 11px; or padding-right: 11px; for the td this will fix the size.

Member Avatar for cmps
0
161
Member Avatar for anandschiru

Dear anandschiru, I googled it: http://jsfiddle.net/cUUCW/ Modify it, but replacing the text which another radio form Good Luck :)

Member Avatar for Bachu
0
160
Member Avatar for bradly.spicer

Dear 'bradly', you forgot to float the div, this will work: <div id="Mid_Content"> <div id="Left_Content" style="float:left;"> <h2>Best Rates </h2> <p> 2012 has been a great year for cheap mortgage deals. The Bank of England rate is at an all time low and mortgage lenders having to compete for your business, …

Member Avatar for bradly.spicer
0
2K
Member Avatar for chinmay.rajyaguru

Dear Chinmay, if you want to modify the code or test new codes on wordpress, you can copy the folder that contain all the wordpress files and paste it anywhere you want in public_html folder .. name it something that no one can guess it (you can protect it with …

Member Avatar for EvolutionFallen
0
198
Member Avatar for Aniketayachit

Dear Aniketayachit, I just googled your question, and here's what I found: http://stackoverflow.com/questions/6524196/java-get-pixel-array-from-image

Member Avatar for cmps
-1
64
Member Avatar for mohan gold

Without putting some self effort we can't help you, and from this question, it looks like you are not serious in learning how to code.

Member Avatar for diafol
0
225
Member Avatar for Proglearner

Dear "Proglearner", Frist of all here's a link to the best HTML web tutorial: (IMAGE TAG) http://www.w3schools.com/html/html_images.asp After reading this I think you will be able to more understand what is the src and how to use it. I'll try to explain it in my own words: <img src="images/test.jpg"> This …

Member Avatar for Proglearner
0
109
Member Avatar for garyjohnson

Dear 'garyjohnson', since you posted this topic in the webdesign html css section, I will concider that you are not using the dynamic programming language PHP. Using html css you just have to make another HTML page let's say the album is in file named: albumName.html Copy and paste this …

Member Avatar for garyjohnson
0
277
Member Avatar for Violet_82

Hello 'Violet_82', we can sometimes get rid of the constructor, the example you looked at may not be the best to judge if constructors are important or not. Look at this example, it may makes more sense: Person.java public class Person{ private firstName; private lastName; private age; Person(String firstName,String lastName,int …

Member Avatar for Violet_82
0
235
Member Avatar for cristian.stilpeanu.3

Dear cristian.stilpeanu.3, may you try this: <div align="center" style="height:3em"> <label for="">Nume de utilizator: *</label> <input class="bar curved5" name="user" type="text" id="user" maxlength="16" value="" onFocus="change(1)" class="validate[required,custom[noSpecialCharacters],length[5,16]]" /> </div>

Member Avatar for cmps
0
515
Member Avatar for Devid Bujji

Creating a website and buying a domain name are two totally different things. If you want to create a website, you have to know how to code in HTML CSS (Minimum), and if you are planning for a more dynamic website you have to know PHP & MySQL. Concerning the …

Member Avatar for tiggsy
0
418
Member Avatar for RaeesIqbal

Hello, is the problem with closing parenthesis, or other, maybe logical errors ?

Member Avatar for simplypixie
0
252
Member Avatar for Nandhinidevi

Hello you can use the printf(); float num = 1.23456; System.out.printf("the float number is: %.1f",num); %f prints the full float number %.1f prints 1 decimal %.2f prints 2 decimal %.3f prints 3 decimal etc ....

Member Avatar for tux4life
0
216
Member Avatar for viveksraman

Hello 'viveksraman'. You have to debug this by echoing before and after the conditional statements, and by adding the "or die(mysql_error());" after a function (check later in my code). Or try to put this $row = mysql_fetch_assoc($retr); just before the while. Anyway you can add this to your code $row_num …

Member Avatar for cmps
0
200
Member Avatar for amith_ami

Dear Amiyar ... What is happening to you is very logical. Lets debug what you are doing: echo $s_country; $sql2="SELECT prod_id FROM tbl_order_item WHERE order_id='$order_id'"; $res=mysql_query($sql2) or die(mysql_error()); $i=0; $j=""; while($rs=mysql_fetch_array($res)){ $j .= $rs['prod_id']; $i++; } No syntax error ... but a logical error exists. in the while loop you …

Member Avatar for amith_ami
0
154
Member Avatar for Neversleepin

Where did you defined this variable 'operationsPrioriteToDoListModel' ? May you provide us with the full code? Thank you

Member Avatar for stultuske
0
108
Member Avatar for ibthevivin

Hello ... I think all of these are O(n) O(n) is when you have 1 for loop or while loop if you for loop inside a for loop u will get a O(n^2) and every time you put for loop inside another you will increment the power number ex: O(n)for(){} …

Member Avatar for tux4life
0
208
Member Avatar for mathieu89

$sql="name, price from table1"; echo "<tr><td>Name</td><td>>Price</td></tr>"; if ($result=mysql_query($sql)) { while ($row=mysql_fetch_assoc($result)) { echo "<td>".$row['name']."</td>"; echo "<td>".$row['price']."</td></tr>";}} Try this: Dunno the if condition what it does but anyway: while ($row=mysql_fetch_assoc($result)) { if($name == $row['name']){ echo ", ".$row['price']; }else{ echo "<br/>"; echo $row['name'] . ", "; echo $row['price']; } $name = $row['name']; …

Member Avatar for mathieu89
0
187
Member Avatar for meowmonkey

Hello 'meowmonkey', not sure if that what you want ... Print a rectangle of y lines and x item on every line Anw here's the code: int Y = 4; int X = 12; for(int y=0; y < Y; y++){ for(int x=0; x < X; x++){ System.out.print("#"); } System.out.println(); }

Member Avatar for NP-complete
0
242
Member Avatar for cmps

Hello!!! mmm am learning OOP in Java ... and now I'm facing a prob in reading/writing .txt file here's my code: import java.util.Scanner; import java.util.Formatter; import java.io.File; import java.io.FileNotFoundException; public class Tester { public static void main(String[] args) { Scanner scan = null; Formatter formatter = null; File fileI; File …

Member Avatar for cmps
0
2K
Member Avatar for arctushar

@arctushar I had the same problem understanding function and class, and how do they differ ... Ok now I have 90% understood what does the class exactly offer us! Function example: [CODE] function CommentHtmlentites($comment) { 1)make the comment htmlentities 2)echo the comment } fcuntion CommentNl2br($comment) { 1)make the comment nl2br …

Member Avatar for fpaquin
0
1K
Member Avatar for cmps

Heyyy!!! I saw yesterday some projects for computer scientists, they connected the computer to a light that turn on/off on a submit button click from a webpage (locahost) ... It's not all, there is a team who created a trafffic light sensssorrr!!!! the lights switch automatically depending on the move …

Member Avatar for cmps
0
323
Member Avatar for cmps

I am trying to create an application that will: 1) ask the person to enter a number (ex: 321) 2) the application will display each number on a line ex:3 2 1 Rules: Don't use looping and don't use arrays Someone told me it could be done but I can't …

Member Avatar for cmps
0
126
Member Avatar for cmps

Hello, does all php versions accept the <?= ?> or no ?? Don't you think for designers <?= ?> is easier than <? echo ?> Thank you

Member Avatar for cmps
0
121
Member Avatar for cmps

Hello, it's me with oop again, So now I understand what are oop and how to use it, but I have 2 questions: [1] - How to use controllers models views libs [2] - Is there any tutorial on how to create a cms using oop even if I should …

Member Avatar for simplypixie
0
85
Member Avatar for cmps

Hello, I have created many websites using only classic php and functions But now I decided to learn classes, I understood how it works but haven't used it yet. I have phpcake tutorials, but don't know if it is good to learn it or it is not a good idea …

Member Avatar for cmps
0
198
Member Avatar for cmps

Hello, I want to know if I am doing a list of students, which are executed from database (mysql), does the number of data influence in the speed of the page load? if yes: What to do ? And for how much data should I start to think for a …

Member Avatar for cmps
0
130
Member Avatar for cmps

Hello, I want to display all data from database (repeat) and not only the last one: In classic php I do this using: [CODE]... $row_record = mysql_fetch_assoc($record); do { echo 'Record <br />'; }while($row_record = mysql_fetch_assoc($record))[/CODE] In advanced php (using class) I decided to create my own way, so here …

Member Avatar for cmps
0
183
Member Avatar for cmps

Hello, Am not new to PHP but new to OOP, I have watched lot of tutorials for oop and as I saw, class is almost a new language!! To be a pro programmer, I should learn existing class attributes or I should create my own?? example of default class attribute: …

Member Avatar for cmps
0
115

The End.