39,316 Topics

Member Avatar for
Member Avatar for Sarao

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 …

Member Avatar for Sarao
0
120
Member Avatar for sandm3n

Hi everyone, i'm newbie here just want to catch some knowledge here, i just wondering to know how to make link like mediafire download link, such as [QUOTE][url]http://www.mediafire.com/?eml6e0uxl3e[/url][/QUOTE] is that using .htaccess editing? thanks

Member Avatar for -==Zero==-
0
357
Member Avatar for TechySafi

I'm a noob developer. Trying to develop a simple php-mysql based chat script. I'm stroing all of my chat message's in a table. So to retrive em, im running a mysql query. Here is no problem but im concerned that it may create some performance & speed issues when a …

Member Avatar for Sorcher
0
109
Member Avatar for fantasma

Hello fellow programmers, I've built an upload script that, as usual, verifies if a file extension is allowed. However, the comparison seems to not be working, as it gives me an unhauthorized file trying to be uploaded (when in fact the file has an authorized extension). If i comment the …

Member Avatar for fantasma
0
98
Member Avatar for JBLDW

This is a (very) basic PHP form for use with a database. - Not sure of all the technical stuff I probably should be adding to this post, and I am not sure that it is safe to use either. - Spent hours (literally) looking at ways of securing the …

Member Avatar for JBLDW
0
111
Member Avatar for ben.marks

Hi there, This may or may not be a dumb question, but I've never come across it before. Can you point to a javascript 'onsubmit="return validation()"' on a form, but WITHIN PHP tags? Such as the below. [CODE]function validation(){ var reply = document.getElementById('comreply'); var div = document.getElementById('errormsg'); if((reply.value == '') …

Member Avatar for ben.marks
0
167
Member Avatar for vboopathicse

i need a script that data's fetch from mysql and display in text scroller using javascript. i' uses it is a news update. please somebody helpp me.

Member Avatar for diafol
0
173
Member Avatar for souravsikka

Hello friends,i need your help in PHP.Currently i am doing a module named compare items,in which i have to compare different phones of different brands. Working of this module: firstly user check the associated checkbox of the phone.At a time user can Select 3 phones.A list is maintained which keep …

Member Avatar for diafol
0
108
Member Avatar for emma123

Hi, i am new to this and was wondering the following question 'Is PHP a good way to implement a database driven Web site? Thanks

Member Avatar for diafol
0
156
Member Avatar for somedude3488

Hello, I have been working on a php/xml/ajax chat program which requires no database for the last few days and was wondering if anyone could test it out for me. It has a few bugs that I would love to have someone help me fix (I am running out of …

Member Avatar for joeidee
3
847
Member Avatar for samsons17

Hi.. I got to query that i want to execute here..It is again like facebook wall system,where the first query is for executing all the "wall post",while the other query is for executing the comment for the post. So basically,i need two query for that,which I've written them down like …

Member Avatar for samsons17
0
101
Member Avatar for yamot47

[CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> <script type="text/javascript"> function buttonPress(str) { var str; alert(str); } </script> </head> <?php session_start(); error_reporting(E_ALL ^ E_NOTICE); include "dbconfig.php"; $id=$_SESSION["valid_user"]; ?> <body> <form name="Item Search" method="post" action="search.php"> Item Search:<br> <label> <input name="swords" type="text" …

Member Avatar for yamot47
0
245
Member Avatar for raghujosh

I am developing a form(PHP) that will accept some data. The data will be displayed on a web page. However, before it is displayed, a moderator of the site has to grant permission to display the data. The way it works 1) A user logins to the site and enters …

Member Avatar for vaibhav1983
0
97
Member Avatar for captain.don

I have table named 'user' that has 3 fields 'name' ,'id' and 'profile'. table is filled and 'id' field is filled with 1 to 18 (that is 18 rows).when i run this script it shows the result :: 18 17 16 15 14 Pages4) [1] 2 3 4 >> Last …

Member Avatar for vaibhav1983
0
190
Member Avatar for souravsikka

Hello friends,i need your help in PHP.Currently i am doing a module named compare items,in which i have to compare different phones of different brands. Working of this module: firstly user check the associated checkbox of the phone.At a time user can Select 3 phones.A list is maintained which keep …

Member Avatar for jkon
0
159
Member Avatar for ekseks

Hey guys, I don't know where to post this but I hope this is the right place. I just wanted to know if anybody's using Joomla if you are, do you know how delicious works? the site where you keep your bookmarks and can be seen by your friends and …

Member Avatar for jkon
0
159
Member Avatar for din3sh

Hi .. I'm not so experienced with php .. I'm getting this error on the bolded line .. Can neone help me figure it out .. Regards, Dinesh Ramchandani [CODE] <?php $con = mysql_connect("localhost","username","password"); if (!$con) { die('Could not connect: ' . mysql_error()); } $db_selected = mysql_select_db('lasagnia_user', $con); if (!$db_selected) …

Member Avatar for rcollins
0
251
Member Avatar for revathis

Hi, I am new to PHP. I have installed apache, PHP 5.2 and MySql. Plz tell me How I run PHP programs?? Thanks & Regards, Revathi

Member Avatar for riya...
0
200
Member Avatar for Ambislm

I made a simple application that have a combobox which is loaded with database value and a textfield which should display text related to combo box selection. Name Number number1 1234 number2 2345 number2 5678 number3 2212 So combo box will have values number1, number2, number3. when user selects number1, …

Member Avatar for Ambislm
0
188
Member Avatar for mrexp21

Hello , I would like to modify this script a bit . It is a video upload script for my site . The php content contains all the neccessary fields and upload via browse files only . I would like to make it another optional such as remote/url upload . …

Member Avatar for diafol
0
255
Member Avatar for -==Zero==-

[B]Hey Iam New Here And Iam Noob In Php I Made A Web Site Directory Script A Form So The User Can Post His Site And E Mail This Site Show Directly I Need To Make This Site Under Moderation First Before It Show In Main Index File I Have …

Member Avatar for -==Zero==-
0
102
Member Avatar for -==Zero==-

I Have A vBulletin Forum I Created Custom Fields Lets Say It Give User Gold Point User Id : 1 Posts : 150 Reputation : 1000 [COLOR="Red"]Gold Point[/COLOR] : 5000 This Custome Field Appear Normally In Postbit_Legacy I Need To Know How To Get This Field Data From The Database …

0
46
Member Avatar for mik117

This Error keep show up everytime i use insert query code in my php programs 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 '-student(stud-id,stud-fname,stud-mname, stud-lname,stud-gender,stud-status,stud' at line 1 example code: <?php require_once "formvalidator.php"; …

Member Avatar for stone2191
0
129
Member Avatar for Acute

When I insert "&lt;b&gt;dog&lt;/b&gt;" into database using php, it inserts empty string. WHY??? How to fix it? thnx in advance

Member Avatar for Acute
0
86
Member Avatar for gymie1980

how can i refresh php page by click button (onclick funtion) in another php file i have 2 file : a.php & b.php so how to refresh page in b.php by click button in a.php hope anyone can help me. Thanks

Member Avatar for P0lT10n
0
114
Member Avatar for anawan

Hi, I am new in PHP world and know some basics. I have a database where date wise entries to be made by users. I would like to get results in month wise total. e.g. I have these columns in the database: fleet_no, fueling_date, quantity, price. Now I want to …

Member Avatar for Stefano Mtangoo
0
70
Member Avatar for tcollins412

how do you change the timeout of a session? can you do something in the php.ini?

Member Avatar for Stefano Mtangoo
0
83
Member Avatar for khlouk rada

hello! I'm new to the forum. I really need help from all of you. I have a form in an html page "index.html" like below: [CODE]<form action="login.php" method="post">...[/CODE] How can I prevent users from viewing the login.php in the action attribute of the form tag above by just typing its …

Member Avatar for khlouk rada
0
98
Member Avatar for fuston05

I set my cookie on a previouse page, this page here i call it and set it to a var, then when i echo it it says undefined var. Just curious.. im missing something simple here.. not sure what it is. Cookie is set, i verified that. and if i …

Member Avatar for fuston05
0
113
Member Avatar for joban.ali

Hi I just wanted some advice regarding my login script. Example: I have 2 types of user "Student" and "staff" I would like both types of users which are in different tables to log into one login form, at the moment I have 2 separate scripts. The general assumptions apply …

Member Avatar for Zagga
0
113

The End.