- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 3
- Posts with Downvotes
- 2
- Downvoting Members
- 3
64 Posted Topics
There are two tables - posts and comments: create table posts ( id integer not null primary key auto_increment, body text not null ); create table comments ( id integer not null primary key auto_increment, body text not null, post_id integer not null references posts(id) ); Now I want to … | |
I want to make a brochure similar to this one: [url]http://www.awf.ae/al_rowaad_advocates_brochure.html[/url] I'm web developer but new in brochures, so what technologies are used in it? 1) What to use to make the actual brochure? (See, it is just like a simple magazine) 2) Which flash technology is used? Where to … | |
How to create a transparent png or gif file? on photoshop? if yes, can you explain how? I create 1x1 transparent png/gif file and put it on the box background with y and x repeat, right? is this the idea of transparent backgrounds? Thnx in advance | |
Re: for php-mysql-html-js apps using frameworks makes development really fast. I use the Yii framework and I like it) ![]() | |
Re: I think giving each form a hidden value and then checking them is pretty simple and good solution. To check if a person has a privilege to view a page I would use cookies where you store required information if user is logged in or anything else - depends on … | |
Hi every1, I have a recursive function for building dynamic menu, and it gives me this error: "Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 261900 bytes)" Any ideas? | |
Do you know how to store multi-level menus in db and build them into html lists using php? thnx p.s.: i googled and could not find what i need | |
Hello there, I'm selecting only one column, so if I have 20 rows in result, how to merge all these rows into [U]one row[/U] where all the rows will be [U]comma separated[/U]? Thnx in advance | |
Hi, I need to create a sql query that will return the sum of the total number of records in the t1 and t2 tables. Any ideas how to do it? Thnx in advance | |
Following code: [CODE=php] <?php $test_array = array(); $test_array['string_index'] = "data in string index"; $test_array[] = "data in index 0"; $test_array[] = "data in index 1"; $test_array[] = "data in index 2"; foreach($test_array as $key => $val) { if($key != 'string_index') { echo $val."<br>"; } } ?> [/CODE] gives result: data … | |
Hi, [B]I need to remember the time when user closes the window[/B] and later when he/she comes back, site will highlight latest news that happened when user was offline. So far the best solution I have found is jquery.unload (since I use jquery): it sends some data to php script … | |
How to store both cyrillic and latin in MySQL and is there anything special that I should know to display cyrillic with PHP? (conversions etc.) Thnx in advance | |
Hi there, in twitter and facebook when some of your friends/follows makes new post, your page gets updated via ajax. any ideas how it is implemented? i need the best concept/idea, not the code :] thnx in advance | |
When we send ajax request to some php file via post, we get the variables in php file from $_POST['varName'], and then send response as a text or html or JSON or whatever with echo or print. So, what if a lot of such ajax requests come simultaneously? what server … | |
Hi everybody, I have a js(using jQuery lib) file where all events and following actions(functions) are written. For one of such events there is a function that prepends one more similar element from which prepending was called: $("[COLOR="Red"][B]#id1[/B][/COLOR]").click(function(){ $(...).before("<div [B][COLOR="Red"]id='id1'[/COLOR][/B]></div>"); }); so that when I will click to just prepended … | |
How to send [COLOR="Red"][U]ANY[/U][/COLOR] text via jquery ajax method to php script? When text entered in textarea is html entity, php $_POST[]/$_GET[] sees it as empty string. Here is the code: [CODE=html] <head> <script type="text/javascript" src="/Engine/js/jquery-1.4.4.min.js"></script> <script type="text/javascript"> $(document).ready(function(){ $("button").click(function(){ $.ajax({ type: "GET", url: "get.php", data: "ta=" + $("#ta").val(), success: … | |
When I insert "<b>dog</b>" into database using php, it inserts empty string. WHY??? How to fix it? thnx in advance | |
I have a <textarea> and <button>. When button is pressed the text entered in textarea will be displayed inside of <p></p>. So I want: when I enter for instance "1<br>2<br>3" in textarea and press button, exactly the same text is displayed in <p> i.e. "1<br>2<br>3" is displayed instead of 1 … | |
Hi everyone, I have a jquery script that prepends a <div> tag on button click. Additionaly in this script there are some jquery effects(like slideDown) applicable to <div> tags that were before(and for them effects work fine) and also to <div> which was prepended. However, after new <div> is prepended … | |
Hello everyone, I made a layout using float:left and it's ok until the browser window is resized. When window is resized everything messes up, how to fix it??? how to make it independent from window size? I mean whatever the window size is, layout keep it's positions. Here is what … | |
Hi everyone, I'm building a microblogging system like twitter and I need help in optimizing the database structure. I have tables "user_info", "posts" and "friends". Each time when user logs in, lets say user X, all latest posts of friends of X should be displayed. So it means that when … | |
In facebook or twitter time of post is changing every minute on every post. Any idea how to make it? | |
Hi everyone, can anyone explain me why following code [U]alerts[/U] me nothing: [CODE=javascript] var text = $.ajax({ type: "POST", url: "registration.php", data: "email=" + elementValue }).responseText; alert(text); [/CODE] but when I add option "async: false": [CODE=javascript] var text = $.ajax({ type: "POST", async: false, url: "registration.php", data: "email=" + elementValue … | |
Hello every1, i'm building a site that requires logging in before accessing other pages(like facebook or any mail system). At first(in index) i create an object of my sessions class, say $session. The constructor of sessions class calls session_start() php function. $session checks if user logged in or not(maybe he … ![]() | |
Hi everyone, i need your help) i have some elements with same id, say: <div id="myid">Data1</div> <div id="myid">Data2</div> I want to get innerHtml when one of them is clicked, how can i determine which one exactly was clicked? JQuery: $("#myid").click(function(){ //how to get the .html and other properties of clicked … | |
Hi, in Gmail (I've noticed it in other services too..)after you log in, progress bar appears. What does it do? Uploads all the JS(containing ajax) files into client's machine? or what?:) Thnx! | |
Hello everyone, i'm writing my own forum, and now my database has a [U]table for categories[/U], [U]a table for forums[/U] (each forum belongs to only one category), [U]a table for members[/U], [U]a table for threads[/U] (each thread belongs to only one forum, and each thread has only on member as … | |
Hi everybody, i have a web site without login system, and i want to integrate a good login system into it. Plz, suggest me a good tutorial about it? | |
Hi everybody, Is it possible to give a property default value without using constructor? | |
Hi everyone, I need to upload image [U]without refreshing a page[/U] and [U]show the progress of uploading[/U]. How can i do it? Thnx | |
Hi, how can i check the existance of email address on a web? | |
Hi, What i want is: I have a textarea. When user selects some text and presses a button "[smth]" is added to the begin and end of selected text. How can i do this? It must work on all browsers. The same thing makes daniweb when you format a text … | |
| |
hi everyone, i have a login form on index page, and the login form needs some jquery, so after user has pressed login button (and successfully logged in) another page loads in. And this new loaded page also needs jquery, it means i have to load jquery.js file again. So … | |
hi everyone, i have a mysql query result with 5 columns and i want to display it. So should i use table or is there a way to display it using DIV tags? For example how the Daniweb's threads list is displayed? Thnx. | |
Hi everybody, I want to make a forum somehow similar to Daniweb. My forum also has different categories like academic, social, sell, etc. [COLOR="Red"]So, how should I correctly design the database?[/COLOR] I wanted to create different databases for each category, for example database named "Social", and then create a new … | |
Re: Are you using div tags positioning? If so, use float left and float right properties in your css. | |
Hi everybody, who knows a really good tutorial about how a complex Joomla template is made? ![]() | |
hi everyone, i'm new in web design. i want to design my own template and maybe i'll use a cms in the future. So, what i don't like in joomla is that adapting a template for joomla is too complicated, isn't it? Any suggestions about good cms, which one is … | |
Hi, everybody! I'm new in web-design, and currently i'm learning the DIV positioning. I have written some code and i'm not sure: have i understood the main idea or not. Plz, look at it and leave your comments and advices, i'll be very thankful :) Are all the sites done … | |
![]() | Re: You have a mistake up there:)you've assigned left property to newtop variable. I don't know why your code doesn't work, but i think you should try jquery library. If u're new to jquery check out the tutorial at w3schools site, it's very easy. ![]() |
Hi, everybody)) In Daniweb when you click LOG IN, the page becomes like inactive, and box appears in the center with username and password fields. And there are many similar effects on other web sites. For example images in LightBox from Yootools. So, do you know any tutorial about how … | |
Hi, Do you know a good, free to download book about AJAX (pdf, djvu, chtm?, any)?? Plz, give a link!!! THNX!!! | |
How can i move the Rectangle on the form and animate it as it moves? If i want to move it for example to the right, i must increase it's X cordinate, right? I did it (++x) and drawed a new rectangle and overdrawed the old one with background color. … | |
hi everyone, i'm new in c#, so i have some questions: i have this piece of code: [code=c#]Graphics gfx = this.CreateGraphics(); Pen myPen = new Pen(Color.Azure, 1.0f); Rectangle myRec = new Rectangle(10, 10, 30, 30); gfx.DrawRectangle(myPen, myRec);[/code] and i want the rectangle myRec appear on the form1 when i press … | |
hi everyone, i'm new in c# and events handling techniques, and i have a problem: how can i call paint event inside of mouseclick event? [code=c#] private void Form1_MouseClick(object sender, MouseEventArgs e) { Form1_Paint(?, ?); //i need something like this... } [/code] i want to move rectangle(paint event moves it, … | |
Hi everyone, i'm new in c#. Is it possible to express the UI form as a 2D matrix? how can i do it? i have some object which must make moves from commands that user gives. For ex.: commands "d5; r4; u1;" mean: 5 steps down, 4 steps right and … | |
hi, i'm new in web-development and i'm making a simple chat. How to make a scrollbar of [U]iframe[/U] (which displays all the text you enter) to be always at bottom??? |
The End.