I have a flat file database delimited with |. Can someone please help me a code which can do the pagination? Let's say max is 10 per page.
My DB is set up like the following:
test|test|test
test2|test2|test2
test3|test3|test3
Thanks alot!
-Calvin
I need help aligning my table.
The main table should be aligned with the 'Navigation' table and not the 'poll' table. Cam someone please help me fix it?
Here is what it looks like: http://www.thegamingedge.com/test.html
Thanks.
I havent done php in a while so could someone tell me why this isn't working
include 'config.php';
$dbi = mysql_connect ("$server", "$user", "$pass") or die ("Error connecting.");
mysql_select_db ("$db") or die ("Error selecting...
I've recently installed AppServ 1.9.0 on my computer, but all of my PHP files display only white pages. This has not happened before when I have used AppServ about 3 or 4 months ago.
Hi. I have 2 sites, and on one I want to execute a script for my other site. The address would be something like:
http://www.mysite.com/cgi-bin/stuff/something.cgi?action=something&id=$id&username=$username&password=$password
Thanks.
Please go here (http://www.puremadnezz.com/php/test.html) and view the web page and source code.
You see in the left part of the screen near the contact information? I want the table border size to be the size as the other table borders.
I've tried to do it, but I've failed. Can someone please...
I'm still new at this and I can't get it to work. I'm using PHP 4.2:
Warning: Unable to open '' for reading: Permission denied in c:\appserv\www\admin\index.php on line 907
Couldn't copy the file!
echo "<form enctype=\"multipart/form-data\" name=\"theform\"...
I'm getting this error: Parse error: parse error, unexpected T_STRING in C:\www\php\post.php on line 172.
My code is:
include '../config.php';
$date = date(F jS, Y);
$time = date(h:i A);
im making a guestbook and in my control i have an option for max entries per page. currently the option in my mysql db is set to 10. so can someone help me make something that will display xx entries per page and to display the pages at the bottom of my guestbook? i really need help making this...
k i have a mysql db with records similiar to this:
1 test1 test1 test2
2 test2 test2 test2
3 test3 test3 test3
i made the delete code for it so i was wondering if somebody could help me with a code that will renumber records when one get deletes. so if "2 test2 test2 test2" gets...
OK, I'm using this to get data from rows in my table:
<?
include 'data/config.php';
mysql_connect("$server", "$dbusername", "$dbpassword") or die("Could not connect to database. Please make sure data/config.php exists, and it is configured correctly...
I'm using this in my install.php file:
DROP TABLE IF EXISTS guestbook_admins;
CREATE TABLE guestbook_admins (
adminid smallint(5) NOT NULL auto_increment,
username varchar(150) NOT NULL default '',
password varchar(150) NOT NULL default '',
PRIMARY KEY (adminid)
) TYPE=MyISAM;
It...
1. How do I connect to a MySQL database?
2. What do these MySQL commands mean when I try to create a table?
Type: ISAM, MyISAM, Heap, Merge, InnoDB
Data type: >tinyint, smallint, mediumint, int, bigint, float, double, decimal, date, datetime, timestamp, time, year, char, varchar, tinyblob...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.