No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
9 Posted Topics
Hi, I used the code [code] <?php $con = mysql_connect("localhost","clickim_forum","thankyou1"); if (!$con) { die('Could not connect: ' . mysql_error()); } mysql_select_db("clickim_forum", $con); $result = mysql_query("SELECT userid FROM user ORDER BY userid DESC LIMIT 0,1"); echo "<table border='0'>"; echo "<tr>"; while(row = mysql_fetch_array($result)) { echo "<td style='color:#FF0000 '>" . $row['userid'] . … | |
Hello, I have following page which shows 10 records per page (pagination) what I want is, it gives me a total of "Total (Price+Shipping)" at the end of the page. How can I do that? I am trying hard but with no access [code]<?php include('connect.php'); ?> <?php //This checks to … | |
Hello, I dont know any PHP or MYSQL, but I had created a script for my business with the help of you Gurus. Now I am stuck with a problem once again. I hope you will help me again. I have a MYSQL DB, 'shipments' and Table 'info' with a … ![]() | |
[CODE]<body> <?php $host="localhost"; // Host name $username="root"; // Mysql username $password=""; // Mysql password $db_name="shipments"; // Database name $tbl_name="info"; // Table name // Connect to server and select databse. mysql_connect("$host", "$username", "$password")or die("cannot connect"); mysql_select_db("$db_name")or die("cannot select DB"); $sql="SELECT * FROM $tbl_name"; $result=mysql_query($sql); $count=mysql_num_rows($result); ?> <table width="100%" border="0" align="center" cellpadding="0" … | |
Friends, I am trying to display data with limits from my MYSQL Records. It Shows the data, but it does not work with Next or Previous Page. Here is the code: [code] <?php // Connects to your Database mysql_connect("localhost", "root", "") or die(mysql_error()); mysql_select_db("shipments") or die(mysql_error()); //This checks to see … | |
I am using the following codes to update my SQL records but these arent working. Please help me. [B]HTML To select which Data to update[/B] [CODE] <?php $connect = mysql_connect("127.0.0.1", "root", "") or die ("Error , check your server connection."); mysql_select_db("shipments") or die("cannot select DB"); $sql="SELECT * FROM info"; $result=mysql_query($sql); … | |
[code] <style> font-size: 14px; font-weight: normal; font-family: Tahoma, Geneva, sans-serif; } .bar { font:"Free 3 of 9 Extended"; font-size:14px; } .K2 { font-size: 14px; font-family: tahoma, Geneva, sans-serif; } .ff { font-family: "Courier New", Courier, monospace; } --> </style> <?php $con = mysql_connect("localhost","root",""); if (!$con) { die('Could not connect: ' … | |
Hello, I am sorry to bother you all again. I am creating a script, which is used for storing the parcels sent. Now, I have done everything. Just need to add one feature. I have a MYSQL field named TRACKING which will hold tracking information or reciept numbers of the … | |
Hello, I am having a company here with foreign retailing. I have to ship packages abroad. Due to workload I cannot remember what parcels I have sent. I had a script which I used to print Labels to print. But now, what I want is, while the script prints a … |
The End.