20 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for Niloofar24

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 = …

Member Avatar for Niloofar24
0
585
Member Avatar for Niloofar24

Hello again. How can i limit my list indexes? I want my list to take only 3 indexes for example.

Member Avatar for Niloofar24
0
604
Member Avatar for alexamicaa

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 …

Member Avatar for sneekula
-3
486
Member Avatar for momonq1990

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?

Member Avatar for lessonup
0
170
Member Avatar for RascelleGrepo

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 …

Member Avatar for broj1
0
408
Member Avatar for joshl_1995

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 …

Member Avatar for joshl_1995
0
380
Member Avatar for Tunnleram

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 …

Member Avatar for Tunnleram
0
198
Member Avatar for ajay09payal
Member Avatar for IIM
0
175
Member Avatar for masterfact18

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... …

Member Avatar for masterfact18
0
134
Member Avatar for gamnlxvi

#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 …

Member Avatar for gamnlxvi
-1
212
Member Avatar for diafol

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 …

Member Avatar for pritaeas
0
180
Member Avatar for Sturdy

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

Member Avatar for Sturdy
0
211
Member Avatar for anita.kcx

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 …

Member Avatar for effectiveMySQL
0
2K
Member Avatar for diafol

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 …

Member Avatar for diafol
0
163
Member Avatar for davehere

hello, I need to display contents with their tags, and in same page all the tags of the page contents the problem is having a limit on contents doesn't work if join tags on them (the number of tags change the number of select contents) [B]THE TABLES ========== [/B] I …

Member Avatar for davehere
0
204
Member Avatar for mikeflash

Hey all, I have several cron jobs running but some of them take a lot of time to complete, since it requires fetching data from an external website and then updates my site's database. My hosting provider has a 120 second time limit for PHP scripts, which is too low …

Member Avatar for maba001
0
245
Member Avatar for ds2r

I have a table and I want to start the select with the 20th row. How do I do this? Does conditionals work on "limit"

Member Avatar for ds2r
0
111
Member Avatar for halluc1nati0n

I was trying out a 2-dimensional integer array on a UNIX box. I hit up a 'Segmentation Fault' on trying to run it. [CODE]#include <iostream> #include <cstdlib> using namespace std; int main() { int matrix[2000][2000]; int i, j; srand ( 1 ); for (i=0; i<2000; i++) { for (j=0; j<2000; …

Member Avatar for halluc1nati0n
0
205
Member Avatar for ayesha789

Hi dear all I have 2 question to be asked 1. everything is working fine but I couldnot understand [ICODE]$page = $_GET['page'];[/ICODE] what function is performing in the script? 2. when I change limit greater then 2 its not echo any record but for limit=1 or limit=2 its working perfectly. …

Member Avatar for dasatti
0
1K
Member Avatar for codewalkz

I can't seem to limit the result to a desired number. I have this code: [code]//GET THE TOTAL OF LEVEL 2 $result = mysql_query("SELECT COUNT(*) FROM agents WHERE (sponsor = '1' or sponsor = '2' or sponsor = '3') LIMIT 0,1")or die(mysql_error()); while($row = mysql_fetch_array( $result )) { $lvl2parent = …

Member Avatar for pritaeas
0
140

The End.