Search Results

Showing results 1 to 40 of 232
Search took 0.02 seconds.
Search: Posts Made By: Rhyan
Forum: HTML and CSS Mar 25th, 2009
Replies: 4
Views: 788
Posted By Rhyan
Ok, got it right...not as it should look like, but at least it fits the windows now :D

If you're interested how, go check the code on the page for details, however in short I did it like this.
1....
Forum: HTML and CSS Mar 25th, 2009
Replies: 4
Views: 788
Posted By Rhyan
Ok, fooled around with the code. The problem lies only in IE 6 and only under certain circumstances.

If I use a wrapper - like

<div class="wrapper">
<div id="googlemap"></div>
</div>
...
Forum: HTML and CSS Mar 24th, 2009
Replies: 4
Views: 788
Posted By Rhyan
Yes, almost got used to it, but this one really surprised me.
Any ideas anyway what may be the cause?
Do you see something wrong with my code?
I am out of ideas in which direction should I look...
Forum: HTML and CSS Mar 24th, 2009
Replies: 7
Views: 3,054
Posted By Rhyan
Actually <div> element is 100% stretched by default, unless contained in another block element with fixed widht, or unless floated. So, if you are using div's and do not use neither float, nor width...
Forum: HTML and CSS Mar 24th, 2009
Replies: 4
Views: 788
Posted By Rhyan
Hi folks,

It has been some time since my last visit. This time I come looking for help...

I have coded a page that contains a google map next to an address location. Basicly the map shows...
Forum: PHP Feb 12th, 2009
Replies: 6
Solved: nl2br question
Views: 386
Posted By Rhyan
Hm,
Appears you are right.
It really does not replace new line indicator by html equivalent <br /> it only inserts it before the new line indicator. Odd....
So instead using nl2br, you can use...
Forum: PHP Feb 12th, 2009
Replies: 6
Solved: nl2br question
Views: 386
Posted By Rhyan
Nav33n's proposal will return a string with no spaces, instead with new lines where the breaks are.
In order to return a string with line breaks, you should replace <br /> with \n , store it in a...
Forum: HTML and CSS Dec 2nd, 2008
Replies: 3
Views: 574
Posted By Rhyan
Post some code that we can read, however, it should look something like
<div>
<p>Your text here</p>
<img.../>
</div>
Forum: PHP Dec 1st, 2008
Replies: 7
Views: 757
Posted By Rhyan
It is up to you. If you start building a large website with a lot of repeating code like headers, navigation menus, etc, you will realize how helpful the includes are.
Later on, you will realize...
Forum: PHP Dec 1st, 2008
Replies: 5
Views: 563
Posted By Rhyan
Hm, I think that the question was whether multiple visits on a database-driven site would be handled well, because each php page, which requires data from the db, would initiate a new sql session as...
Forum: PHP Nov 29th, 2008
Replies: 2
Views: 462
Posted By Rhyan
You can't.
SHA is one-way encoding mechanism. So in order to verify a password, the verification string has to be encoded using the same key as it has been initially encoded upon inserting into the...
Forum: PHP Nov 28th, 2008
Replies: 3
Views: 393
Posted By Rhyan
Ok, the error says that no result has been returned from sql. This may be caused either by no data in tables or by a wrong sql statement.
I suggest you to put this line just after...
Forum: JavaScript / DHTML / AJAX Nov 28th, 2008
Replies: 24
Views: 44,444
Posted By Rhyan
Ok, guys, why do we need such a word fight for nothing?

Actually I did not understand what is exactly the requirement - I mean, does the guy want to have the code work in any browser window on...
Forum: PHP Nov 28th, 2008
Replies: 2
Views: 816
Posted By Rhyan
Depends on what you expect to happen next. You can act both in PHP, manipulating the returned array result, or you can change your SQL so that sql returns the first and last name as one column,...
Forum: HTML and CSS Nov 28th, 2008
Replies: 2
Views: 577
Posted By Rhyan
You can't doing it using this code.
The css style you provided is useful when you want to define some general attributes for multiple tags.

In order to achieve yours, you have to explicitly...
Forum: PHP Nov 27th, 2008
Replies: 2
Views: 445
Posted By Rhyan
FTP_PUT () overrites files without warning. I have no idea about ftp_fput(), but I suppose it will overwrite as well, that is - it will replace content.

Why don't you try with a simple txt file...
Forum: PHP Nov 26th, 2008
Replies: 1
Views: 315
Posted By Rhyan
You are trying to create a JPG from PNG. I don't think that GD allows this. Therefore you should use createimagefrompng() and imagecopyresampled(). Also, header(content....) should be PNG, not JPG.
Forum: PHP Nov 25th, 2008
Replies: 8
Views: 1,660
Posted By Rhyan
Well, honestly, I do not like while loops, so I would go with scandir() function in php that returns an array of all files. Then I will manipulate the array and upload file by file, rather than...
Forum: PHP Nov 24th, 2008
Replies: 8
Views: 1,660
Posted By Rhyan
Hmmm.. I have had problem with file creation using php, so I had to change folder permissions to 777 and just then it worked.

I think also that you do not change the ftp_delete command, as it is...
Forum: PHP Nov 24th, 2008
Replies: 4
Views: 549
Posted By Rhyan
Ok, "effective" what do you mean by that?

If you mean effective - like having a lot of things that change, rotate, move from one place to another, have sounds and stuff, you should do it with...
Forum: PHP Nov 24th, 2008
Replies: 6
Views: 640
Posted By Rhyan
No, this is not a javascript question. Do some search on google for GET and POST method.

Also, if you really want to learn programming, go to http://www.w3schools.com/
Forum: PHP Nov 24th, 2008
Replies: 8
Views: 1,660
Posted By Rhyan
Check permissions for read/write/delete on the folder on the remote machine using the name / pass.
Forum: PHP Nov 24th, 2008
Replies: 3
Views: 602
Posted By Rhyan
Why don't you create an activate service page. E.g. imagine not all users want to participate in the arcade, but by mistake they click on the game page....
I think it would be better you create a...
Forum: HTML and CSS Nov 23rd, 2008
Replies: 10
Views: 913
Posted By Rhyan
Just one thing - <p></p> elements are not allowed to contain h1-h6 elements.
This means you cannot have the following <p><h1>Heading Here</h1>The other text being here</p>
Forum: HTML and CSS Nov 23rd, 2008
Replies: 10
Views: 913
Posted By Rhyan
The difference is the following:

p {} only is a master declaration for your whole page. Definitions here will be inherited by all p tags by default. It is like a default style for p tags.
...
Forum: DaniWeb Community Feedback Nov 22nd, 2008
Replies: 141
Views: 10,441
Posted By Rhyan
It seems some people do not like changes. It is really good you changed the layout, now I really need to explore daniweb again, and I might say I have stumbled into places I've never been before...
...
Forum: DaniWeb Community Feedback Nov 21st, 2008
Replies: 141
Views: 10,441
Posted By Rhyan
Good, then split the browser window on both, so it will be in the perfect center then :)

Joking...
Forum: DaniWeb Community Feedback Nov 21st, 2008
Replies: 10
Views: 1,315
Posted By Rhyan
Ok, I like to help as well and I do my best to do so.
However, it seems to me that a lot of people here expect someone to do the job for them. I am speaking about PHP and HTML/CSS forums, as there...
Forum: DaniWeb Community Feedback Nov 21st, 2008
Replies: 141
Views: 10,441
Posted By Rhyan
Hey, I was just looking where to say how am I glad you changed design of the site. Now it seems to me more clean and sophisticated. I really like the new looks. Loads faster than the old version,...
Forum: PHP Nov 21st, 2008
Replies: 3
Views: 536
Posted By Rhyan
Well, here you should do some coding before printing the contents:...


//this is where you need to intervene

if ($arr_getf = mysql_fetch_array($sth_getf)) {

print '....'

instead, do...
Forum: PHP Nov 21st, 2008
Replies: 2
Views: 1,641
Posted By Rhyan
OK, as far as I understand you first want to check if such an appointment already exists, then, if the date-hour is free, you want to write the appointment. Is that correct? If it is this way, you...
Forum: PHP Nov 21st, 2008
Replies: 4
Views: 2,612
Posted By Rhyan
I think there is no a 100% guaranteed solution for this problem, no matter you conform to standards or not. I use gmail and constantly i have mails from friends of mine going into the junk folder,...
Forum: HTML and CSS Nov 21st, 2008
Replies: 9
Views: 2,207
Posted By Rhyan
http://www.w3schools.com/html/html_intro.asp

http://www.w3schools.com/css/css_intro.asp
Forum: PHP Nov 21st, 2008
Replies: 4
Views: 789
Posted By Rhyan
The proposed code works 100%, but maybe you have not explained precisely what do you want to do, or what errors you have, etc.

What pritaeas proposed is a 100% working solution to what you have...
Forum: PHP Nov 21st, 2008
Replies: 7
Views: 1,294
Posted By Rhyan
This is really strange, because I have tested the code in my server and it works perfectly. Note that it works either with or without the second dot with no problems. Basically what I did was to use...
Forum: PHP Nov 20th, 2008
Replies: 9
Views: 1,387
Posted By Rhyan
Guys, I am actually interested in the single quotes used - i mean one time quotes used are like this [ ‘ ] or [ ’ ], the other time used they are as supposed to be [ ' ].
I am not sure whether PHP...
Forum: PHP Nov 20th, 2008
Replies: 10
Views: 1,518
Posted By Rhyan
Ooops...my bad. I thought you want to append content rather than replace it.

In this case 'w' is correct option for fopen to be used. Maybe w+, but in any way, as I have read your code more...
Forum: HTML and CSS Nov 20th, 2008
Replies: 7
Views: 840
Posted By Rhyan
I do php and mysql, XHTML 1.1 strict, css 2, javascript. Now I'm looking towards Ajax, but actionscript and flex are cool.
Forum: PHP Nov 20th, 2008
Replies: 10
Views: 1,518
Posted By Rhyan
You should use fopen with parameter 'a' or 'a+'instead of 'w' in this way if file exists new data will be appended, otherwise php will attemt to create it.
...
Forum: HTML and CSS Nov 20th, 2008
Replies: 1
Views: 1,728
Posted By Rhyan
Sam, you never know how many pixels 100% is, because different users use different resolution on their screens.
This means that if your resolution is e.g.1600px wide, then a user with resolution...
Showing results 1 to 40 of 232

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC