Member Avatar
hello me again:) There is a page in my cms that users can see my posts there and i want to limit the number of posts that must be shown to users in each page and paginate. This is my code: <?php $servername = "localhost"; $dbname = "mydbname"; $dbusername = …
by Niloofar24 15 in Web Development ()
Member Avatar
Hello again. How can i limit my list indexes? I want my list to take only 3 indexes for example.
by Niloofar24 15 in Software Development ()
Member Avatar
Hi Guys, I am new to XSLT, looking to solve a problem I am facing in filtering XML records. I need to get both the Input XML record position and limit the output XML to a particular number (based on input provided to xsl:param from .net 1.1) Input XML <Parent> …
by sarathcd in Software Development ()
Member Avatar
I have no idea how to write in Python. Please help me with this! Best answer if you write the program! Central Limit Theorem I Goal Write a python program that will use your accept / reject Monte Carlo algorithm to demonstrate the central limit theorem. Recall: The central limit …
by alexamicaa in Software Development ()
Member Avatar
Hi, I need to implement list based on dynamic arrays (second task is to implement as double linked list). Both tasks are done, but I have problem with time limit on test platform when values are millionths. I suppose that resizing dynamic array is delaying so much. I have implemented …
by bejfake in Software Development ()
Member Avatar
hi to all webmaster! :D how can i say that im successful in my SEO strategy if i just have small targeting community? how to measuring & tracking success of your SEO strategy? how to compare my ranking to others?
by momonq1990 in Search Engine Strategies ()
Member Avatar
Hello, guys.. I am actually working on a project. I can't figure out how to limit the displayed content on a table of a particular data. I have a table (tblservices) that have fields (service_id, service_name, service_content, date_created).. *the service_name* is the title of the service, *service_content* is the whole …
by RascelleGrepo in Web Development ()
Member Avatar
Is there away to limt cftextarea by word not characters? I need to limit my form to 250 words. is there a way to do this?
by yankeefan24 in Web Development ()
Member Avatar
Hello Community, I was wondering if there is a way to limit users on how many database entries they can insert then once they have reached 100 (Max entried) entries it will delete old entries. So if the user has reached 100 entried and they try to insert another entry …
by joshl_1995 22 in Databases ()
Member Avatar
I know that I can limit a query by 10 for instance, and have the top rows returned, but I have a situation where I want to return all rows, but I want to be able to mark the rows that fall in the top 10 a certain way. For …
by Tunnleram in Databases ()
Member Avatar
not able to upload more then 2 mb of file in php i m using post method
by ajay09payal in Web Development ()
Member Avatar
i would like to know hot to put a limited input in a textbox.. situation is like this i put a textbox in a form then what i would like to happen is to accept only 2 number and will not accept the following number that is being pressed...please help... …
by masterfact18 in Software Development ()
Member Avatar
Is there any chance that a set of rules could be implemented to prevent abuse of the endorsement system? It seems that currently, anyone can endorse anyone and there is no restriction. I can provide an example of what appears to be abuse of the system, however, I am against …
by Ketsuekiame 860 in DaniWeb Community Feedback ()
Member Avatar
In this code, I need to put a limitation in every part where the user is asked to input data. The user will be asked to input a grade ranging from 50-100, and if his input is not in the range, the program will display a warning, and if the …
by GeneClaude in Software Development ()
Member Avatar
#include <iostream> #include <stdlib.h> //For system() #include <conio.h> //For getche() #include <time.h> using namespace std; //You can modify these numbers but don't delete these constants or this starting code will not work const int MAX_HEIGHT = 20; //The height of the grid const int MAX_WIDTH = 40; //The width of …
by gamnlxvi in Software Development ()
Member Avatar
I'm getting this error in one of my scripts: **You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-25,25' at line 1** Below is part of the code any help would be great <?php …
by sinZ in Web Development ()
Member Avatar
SELECT t.* FROM (SELECT * FROM jobs WHERE `status` IN (0,1,2,3) ORDER BY `status` DESC, job_datetime LIMIT 11, 20) AS t That's a cut down sample of my sql. It was more complicated, but I've pared it down to this just to see why I was getting some strange numbers …
by diafol 3,075 in Databases ()
Member Avatar
i have tow tables, posts and sections, i want to get the last 10 posts WHERE section = 1, but use the 10 results in different places, i make a function function sectionposts($section_id){ mysql_set_charset('utf8'); $maxpost1 ="SELECT max(id) from posts WHERE section_id = $section_id ORDER BY ID DESC LIMIT 10"; $maxpost10 …
by weemy in Web Development ()
Member Avatar
Hi, I have this datatable that I need to loop for my excel exporting function. And I have to export data that exceeds the row limit of excel worksheet. now I want to know how to create a query of limit on the datatable.select in such way like in sql. …
by jbutardo -2 in Software Development ()
Member Avatar
Hi, There is a bug with the editor that I noticed and others noticed too. When you post a very long code segment (or maybe just a long post, period), at some point it seems to overflow the capacity of the editor and you can no longer scroll all the …
by mike_2000_17 2,669 in DaniWeb Community Feedback ()
Member Avatar
Hi Friends, I am trying to limit the number of pages to display on my code. Can someone please help? I am trying to get something like http://stackoverflow.com/questions/8361808/limit-pagination-page-number $Num_Rows = mysql_num_rows($objQuery); $Per_Page = 15; // Per Page $Page = $_GET["Page"]; if(!$_GET["Page"]) { $Page=1; } $Prev_Page = $Page-1; $Next_Page = $Page+1; …
by aflor 1 in Web Development ()
Member Avatar
Hi friends, I have a site, where I want to limit the number of pages being viewed. example: 1 | 2 | 3 | 4 | 5 | 5 | 7 | 8 | 9 | 10 | 11 want to reduce this to: 1 | 2 | 3 | …
by MMG35 in Web Development ()
Member Avatar
Hi All, How i can restrict the numbers of customer from database? I use adodb with access. I know how to retrieve customers from database but i don't know how to restrict it to spesific numbers. Best Regards. Sturdy
by Sturdy 11 in Software Development ()
Member Avatar
Hi, I have a database called my_db1 which contains 3 tables. Out of the 3 tables one table is being populated 24*7. My hosting provider (i.e godaddy) provides 25 Mysql databases 1 GB each. What should I do if the database exceeds the 1 GB size limit? Is there a …
by anita.kcx in Databases ()
Member Avatar
Hi, As being new to the forum website ..... i don't have much ex poser in the forum ..i have a doubt regarding the limit of per day post submission. Can anybody please let me know that how many post i can submit everyday here ?
by mhanry 1 in Search Engine Strategies ()
Member Avatar
Id like to limit the text chars shown in this script because too many chars are displayed causing overlap (see link) no idea what to do, please help? p.s I dont know js so if you could kindly be very specific, thanks. :) see it here (bottom of page 5 …
by Inny 1 in Web Development ()
Member Avatar
Hi, I am new here and want to know that how many post i can submit here on per/day basic ? Is there any limit for new user on the post submission ?
by EricBattelle 1 in Search Engine Strategies ()
Member Avatar
I want to limit uploading size of the user image. How can i do this? User should upload only jpg file and it would be less than 100kb. and is there any way i can convert that image into specific resolution? Thanks....
by kirtan_thakkar in Web Development ()
Member Avatar
Well I am coding a small intermediate program to help me with learning c++ , and i am wondering how to check for blank input to cin >> string heres what i have [CODE]string name; cout << "Enter You're Name: "; getline(cin, name); [/CODE] and if i just hit enter …
by Razzo1 in Software Development ()
Member Avatar
Hi all. Not sure if this is the right forum, but it seemed the most appropriate from the list. I'm helping to develop a ghost-themed site. As it deals with an urban legend, we're pretty sure that kids will come across it, but don't want them to visit. There's really …
by diafol 3,075 in UI / UX Design ()