39,402 Topics

Member Avatar for
Member Avatar for sam023

is there any way to paginate the page without using limit in Query..!! Actually i m working on predefined stored procedures. and i m not allowed to make in changes that..!!! and that does contain limit function at all..!!!! any suggestions how should i do it.? thanks in advance

Member Avatar for sam023
0
535
Member Avatar for vishal_jamwal

Hi there , is htere possible to send a html form in email as a attachment which has some input fields any help will be appreciated thanks

Member Avatar for rajabhaskar525
0
106
Member Avatar for xuexue

hi, i want to have a button wherein it will create dynamic text boxes depending on the times i click the button. i've seen several codes thru javascript, however, i cannot get the value of the said textbox, could you please help me with this?? tnx..^^

Member Avatar for network18
0
2K
Member Avatar for ncsufan

Greetings, What I have: A custom, dynamic web-based Contact Relationship Manager (CRM). That has: A dropdown option on the website used to select a certain business class that a company can be classified as. Example: RES = Restaurant What I want to add: When the end user selects RES from …

Member Avatar for marissa jasmine
0
98
Member Avatar for ronnjoe

Hi to all, The code below shows to upload a content in to the database. My problem is, i have to create two users, one should login into the page and upload the conntent and the other should login into the page and approve it to display in the site. …

Member Avatar for hemgoyal_1990
0
120
Member Avatar for xarz

I don't know how to explain this correctly but just some sample for you guys so that you can really get what Im trying to say. Today is November 28, 2008 3 days from now is December 1,2008 Im looking for a php code, which can give me the exact …

Member Avatar for chetan.akarte
0
157
Member Avatar for tonyeveland

I need to allow users to upload images and resize the images on the client. Does anyone have a (complete) solution for this? Money is no problem.

Member Avatar for rajabhaskar525
0
64
Member Avatar for Carrots

Hi, I'm making a simple forum. When a user register's, I trying to create their join date. [code] CREATE TABLE Users ( userName varchar(15) NOT NULL, registrationDate datetime default NULL ) [/code] and then have MySQL automatically set that value: [code] $sql = "INSERT INTO Users (userName, registrationDate) VALUES ('".$username."' …

Member Avatar for Carrots
0
121
Member Avatar for phpwebdesigner

I need to download data automatically from a remote server. Its a CSV file, and i need to unzip it, and store the data in a mysql database that i created. There are multiple databases. The first section below is one of the databases that someone helped me with and …

0
125
Member Avatar for dhrider

[B]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 ') VALUES('corey','gibson','Cambodia','ab','bragg creek','t0l0k0','corey_g' at line 1[/B] $sql = mysql_query("INSERT INTO myMembers (firstname, lastname, country, province, city, postal_code, email, acp_reg, rank_medical, rank_fire, nok_firstname, nok_lastname, nok_country, nok_province, …

Member Avatar for phpbeginners
0
141
Member Avatar for leegeorg07

Hi, I am working on a WP theme with a friend and I'm trying to figure out how to update the files on a regular basis. I will have a server that will be on at certain times (when an update is available) and I want a php file that …

Member Avatar for almostbob
0
111
Member Avatar for tatt727

Hi, I have written a code that retrieves values from a MySql database and displays it in a table. So far so good. Then, what I want to do is have the user click on edit and the row that contains the record to be edited becomes editable boxes. I've …

0
76
Member Avatar for paulbasler

I am working on a social network site with php and mysql. I was wondering which way would be the most efficient way of uploading the users pics to the server into a file folder or directly into the database? Also I was wondering would it be easier to save …

Member Avatar for emhmk1
0
91
Member Avatar for DaveCachia

Hi all! I have dug through the heaping amounts of mod_rewrite threads here and elsewhere and have come to no end! I am wondering if this is not working because: A) 1&1 Hosting is garbage. B) Its on a subdomain. Here is my code. [CODE]RewriteEngine On RewriteRule ^([a-zA-Z0-9_-]+)$ profile.php?username=$1 RewriteRule …

Member Avatar for diafol
0
198
Member Avatar for weasel7711

This is my first time really using HTML, Javascript and PHP. This is part of a prototype for a project for my SW Eng. course. The problem I am having is that the form is not going through the validation. The user is supposed to be able to search by …

Member Avatar for Airshow
0
172
Member Avatar for therio7

Hi everyone, I hope someone can help me, here's my problem: I have a php script that retreive photos from a mysql db (and place it on my page into a loop in the right album section), I dont know if you understand what I mean but if you have …

Member Avatar for therio7
0
216
Member Avatar for silursh

I tried real hard to practice that elusive php mail function but i couldn't manage to successfully send email from my php form to any of the mailbox addresses that i specified as recipient in my php form. It has been three days and i am still clueless. So all …

Member Avatar for pritaeas
0
105
Member Avatar for veledrom

Hi, I want to learn ZEND Framework. I have checked the courses and they are very expensize. My question is, if I buy a book for ZEND, do you think i could learn it. I know PHP5 and OOP. I am open for other recomendations. Thanks

Member Avatar for GL.Za
0
66
Member Avatar for nschessnerd

Hi I'm having an issue with curl on windows with php. If i have curl enabled in php and i run php through command line i get an instant cpu spike... php.exe cpu jumps to about 20% then back down. when i disable curl it only jumps to about 2% …

Member Avatar for nschessnerd
0
894
Member Avatar for 68thorby68

I am posting very simple PHP/mysql as below, to get the hang of creating a DB query, and checking if my syntax, and contruction logic is correct, However when I post the code below: [code] $dbhost = 'localhost'; $dbuser = 'myuser'; $dbpss = 'myassword'; //connect to database// $conn = mysql_connect($dbhost, …

Member Avatar for 68thorby68
0
99
Member Avatar for ayesha789

Hi this is my table structure. I need one result from this. There is a field named LAPeriodStart in this table. If LAPeriodStart date is 2009-01-05 Site Id is 4067 Today Date is 2009-12-07 1. Now I need to calculate LAPeriodStart Month from the date(2009-01-05) How its Possiblle? 2. If …

Member Avatar for ayesha789
0
280
Member Avatar for kenwestphal

Hi, I'm been looking online for sometime now and haven't really found anything that helped. Bascially my question is: Is there anything else I need to add to my php.ini file or on my Exchange server to allow me to recieve email since I'm not getting email currently from my …

Member Avatar for pritaeas
0
225
Member Avatar for magicalmakx

Problem with storing values in Array from php to AJAX index.php [CODE] <html> <head> <title>Main Page</title> <script language="javascript" type="text/javascript"> function ajaxFunction() { var xmlhttp = new XMLHttpRequest(); xmlhttp.onreadystatechange = function() { if(xmlhttp.readyState==4) { var arr = new Array(xmlhttp.responseText); alert(arr[0]); } } xmlhttp.open("GET","main.php?q="+document.frm.Act.options[document.frm.Act.selectedIndex].value,true); xmlhttp.send(null); } </script> </head> <body> <form name="frm" id="frm" …

Member Avatar for magicalmakx
0
1K
Member Avatar for Hanna_garcia

Hi. im new in php and i am building a simple site..my problem is how could i make a dynamic query in php using one txtbox to input the keyword and one button. and when i hit the submit button the information will display on other text boxes.. any suggestion …

Member Avatar for xuexue
0
73
Member Avatar for elamigosam

I want to know if there is a way to make php react to a change from mysql database example: I have information on a db and I want to display it in a table and group all the info from one day in one <td></td> then when the day …

Member Avatar for elamigosam
0
84
Member Avatar for honos1

Want to click on an image from a list and simply set that filename in a field in a mysql database. I read the tutorials and have tried several different ways to pass the variable on the url and then update with a second php page. Hi my second question …

Member Avatar for honos1
0
143
Member Avatar for Deady

Hello Devs, Wondering about permissions-based web software to have a registered user (client) upload file to server host, perhaps for a fee, and have server host take file and store it. Is there a somewhat streamlined solution for this? I realize this can be achieved with sophisticated software such as …

0
40
Member Avatar for newbie37

Can anyone help me or get me going in the right direction? Here is the problem. I need to create a script that presents a word guessing game. Allow users to guess the word letter-by-letter by entering a character in a form. Start by assigning a secret word to avariable. …

Member Avatar for newbie37
0
430
Member Avatar for newbie37

Can you create a form and have it show in the same window when you click the submit window? can this be done with out a database? Here is a rough sketch of what I have in theory... see attachment Like signing a guest book.

Member Avatar for newbie37
0
83
Member Avatar for cambraydesign

Hi, I need help with this. I basically want users to enter their name email address with validation and also have a tick box for them to say yes or no to receiving future updates. This information will be sent to an email address not a database on clicking the …

Member Avatar for almostbob
0
206
Member Avatar for aditi_19

Hi, I want to upload pdf file on the network drive ([B]name : csu shared files on 'csu-isa-s1(S: )' [/B]) instead of uploading it in the local drive of the server computer? Could anyone tell me how this can be done. It will be great help ! Thanks, Aditi

0
66
Member Avatar for azegurb

Hi I have took from internet PHP script that uploads images to the host [CODE] <form name="upload-form" id="upload-form" method="post" action="./upload.php" enctype="multipart/form-data"> <input type="hidden" name="MAX_FILE_SIZE" value="30000"> <fieldset> <legend>File upload:</legend> <dl> <dt> <label for="file">File:</label> </dt> <dd> <input tabindex="1" accesskey="b" name="file" type="file" id="file" /> </dd> </dl> <input tabindex="2" accesskey="l" type="submit" name="cmdupload" value="Upload" /> …

0
103
Member Avatar for bouncycastle

Hello I have tow queries on my website. A first query that extracts a number of records from my "Tutors" database based on the criteria "Location". This query works fine and returns "Id", "Name" and "HourlyRate". I want my user to be able to see an extended profile for each …

Member Avatar for praveen_dusari
0
414
Member Avatar for anu.reka85
Member Avatar for NoID

Hello Guys, Can someone please show me if this is possible or not, if so where can i get further information or a code example will be nice. When i enter first name, and then click from the drop down selection "product spec 3" from options "product spec 2" , …

Member Avatar for NoID
0
146
Member Avatar for yonker
Member Avatar for awo

I just started using both PHP and MYSQL and i have this SQL statement that get record from three tables ie [CODE]Select name,age, datejoind, active, avrage_time_in,avreagework_duration from Personalrecord Union Activestaff Union Timetable[/CODE] but i need to be able to get a the list of Returnd field name into a PHP …

Member Avatar for diafol
0
189
Member Avatar for leahmarie

Hi guys, I'm not sure if this is the right category for this inquiry. I have my phpmyadmin working for my existing database but I couldn't make it to work. The site is running in xammp localhost. I have the data in place . I get the database to run …

Member Avatar for jomanlk
0
88
Member Avatar for levsha

I've read some articles and forums on the topic, but still hasn't gotten a clear answer for myself... What I need is my incoming emails to be stored in my MySQL database. I understand that the email has somehow be submitted to a PHP script that will handle it further, …

Member Avatar for Simply T
0
494
Member Avatar for SunnySideUp

Hi, What I want to do is to upload a file to a specific directory as well as enter the data into a MySQL database. The specified directory would be a value that has come from a previous select statement from the database. So as an example, I would want …

Member Avatar for Simply T
0
79
Member Avatar for jino

Dear all, I am using apache2Triad for developing my web. I want to send email through the php email command. So first in my local system how can i see the sended email messages. Do i want to install any email applications other than configuring the phpXmail for viewing the …

0
53
Member Avatar for wolf_london

hey, i want to install apache ,php and mysql.in my ubuntu linux. but i come across a problem . i configure the apache ,and in the command line it works well: root@chrysanthemumwolf-laptop:/usr/local/apache2/conf# /usr/local/apache2/bin/apachectl start httpd (pid 4325) already running root@chrysanthemumwolf-laptop:/usr/local/apache2/conf# /usr/local/apache2/bin/apachectl restart but when i test it in my browser …

Member Avatar for wolf_london
0
111
Member Avatar for AycheKay

I have a form where users enter data. If no data is entered in a given field my code still inserts a 0 into the MySQL database even though I allow Null values. This is a problem for two reasons. In some of my fields I'm using TINY INTEGER as …

Member Avatar for darkagn
0
156
Member Avatar for Sheridan

Here is my problem. I implemented a back button using: [code=php] echo '<a href="' . $_SERVER 'HTTP_REFERER'] . '">Previous</a>'; [/code] This gets stuck in a loop when I try to go back more than one level. Can anyone help?

Member Avatar for Dukane
0
148
Member Avatar for jessec

Hi, I'm not sure if this is the right place for it. I'm thinking of creating a secure place on the internet. Some of my presumptions are: 1 - That no system/network is to be trusted. 2 - Important data should be encrypted. 3 - The link between data and …

Member Avatar for jessec
0
114
Member Avatar for toastyy

I have this database project due Monday and I am trying to create a PHP script to do a simple search query in the MySQL database. This is what I have... [B]search.html[/B] [code] <html> <head> <title>NOMO Auto Group Inventory Search</title> </head> <body> <h2>NOMO Auto Group Inventory Search</h2> <form action="results.php" method="post"> …

Member Avatar for hielo
0
146
Member Avatar for rodrigo7x

Hi, I read this thread: [url]http://www.daniweb.com/forums/thread130342.html#[/url] and I was wondering if the same thing is possible using notepad instead of word. I know on Mac text edit can open any word doc and with save as you can convert it to text format. I don't see that option in notepad …

Member Avatar for diafol
0
55
Member Avatar for uttara032

I am using wampserver 2.0i php 5.3.0 mySQL 5.1.36 Apache 2.2.11 n have faced this error "Forbidden You don't have permission to access /< on this server." plzzzzzz help me out

Member Avatar for programmersbook
0
97
Member Avatar for ragnarok511

Is there a way to send a large amount of data through AJAX to a PHP script? Almost all tutorials say to modify the URL to equal whatever variable your trying to look up. I am wondering if it is possible to pass infomation to the server through an XML …

Member Avatar for digital-ether
0
2K
Member Avatar for mxarievilo

Dears Sirs, I'm brazillian, sorry my horrible english. I've been trying to do a quey that shows registers with 15 days remaining ---------------- I see an error: [CODE]1261306544 2009/12/20 Fatal error: Uncaught exception 'com_exception' with message '<b>Source:</b> Unknown<br/><b>Description:</b> Unknown' in C:\wd\xampp\htdocs\nf\admin\consulta_vencendo.php:9 Stack trace: #0 C:\wd\xampp\htdocs\nf\admin\consulta_vencendo.php(9): com->Execute('select * from P...') #1 …

Member Avatar for mxarievilo
0
1K

The End.