39,320 Topics
| |
[COLOR=black]I get this error when on several places in a code that should be working.. [/COLOR] Notice: Undefined index: status in /home/virtual/public_html/profile/profile_.php[COLOR=black] Hmm.. what indicates being wrong?[B] :rolleyes: [/B][/COLOR] | |
I have a password protection for my website. The LogIn name and passwords are stored in a mysql database. My question is: How can I define that a person who has a LogIn can only see some pages of the whole website? How can I connect the information about which … | |
"I am having a few problems trying to get my php includes showing on my page. Is there any easy/basic code I can insert on a page to test whether it is really working. The package I get from my host does allow php includes so there shouldn't be a … | |
Hi all, I would like to provide some features to the users when they are uploading their images in my site. For example once the user uploaded their image into the site. They have options to change the image as following. convert the image to black & white. Invert the … | |
[U]How can I use php script in xhtml file?[/U] I have short_open_tags = Off in the php.ini and I tried to use <?php ?> or <script language="php"> </script> within xhtml file (I need to use xforms), but my php code is never parsed. Why is that? Thanks for advice. | |
I fond some tutorial that can search one field of the table in a database,. But I would like to search the whole table.. In my table I have people's name by first name, last name, phone number etc... how can I display the whole thing as a result? For … | |
for some reason or another, my AUTO_INCREMENT command won't work in my sql table for the column named 'ID'. i have no idea why. it SHOULD work, but it doesn't. anyway, that's not really much of an issue. however, i have decided to take this opportunity to learn something new … | |
I'm new to PHP so be gentle:) I have this asp code that is working....how would I write this in php if I use the same db tables and fields. The "class_amount" field will hold the total amount of students allowed, in this case 16. When a new record is … | |
hey all! i've got a CMS i'm working on and i have a couple of HTML tables that are populated via php loops communicating with the SQL database. got it? good. at the end of each row in the HTML table there is a checkbox. i need to be able … | |
Hello Basically I have a huge list of info from a table in a database, the table has a field "week" in which I sort them by. I want a drop down menu which displays the weeks, and when you pick a certain week, it populates the html table below … | |
Sorry, it should say FORM I was wondering how I can do a upload file. I run a fan website for the Washington Redskins, and what I want to do is have a section where the members can submit there video or picture materials they've made to my site. However, … | |
The PHP book i have been using lauds object-oriented php, yet provides poor details on how far the code it presents is supported in version 4. my server runs 4 and i have been having trouble trying out some code from the book on it. I simply don't know whether … | |
Hai friends I have got the contents from database But i need to search the content if any worsd available in the contents For example when I get the pargraph from the table then i find "Style" this word is avaliable in the paragraph . How can i find the … | |
Hello all and thanks in advance, I am attempting to get a PHP mail form to work “send a URL” I must be missing something. I a trying to do something like this page [url]http://www.willowcreek.org/events/evite.asp?ID=6[/url] they are using a third party company looks like SQL back end. So I found … | |
This code is what I use to populate a dropdown menu to pick an NFL Team for the super bowl. Once they select a team I want a second menu that will draw from the same table but only grab from the opposite conference of the first team. The table … | |
Hi all, I need to get the length of mp3 song alike length of video file. Is it possible to get the length of a mp3 song? Please assist me regarding this. Thanks in advance. | |
Hi It's been awhile since I had a question, thanks for helping me out before. Now I have another question. I have 50 plus doctors that I have a DB table, I was told that I only needed one table but I could not figure out how. Well I figured … | |
Hello all, This pertains to a form I have on my page. As it is now, if the person filling out the form makes a mistake or leaves something out, the form reloads, but all the prior responses are wiped out. I can see how this might annoy someone, to … | |
So I have a client that is looking at having a calendar page but has certain criteria: * Calendar with options to select different cities * Searchable within a certain radius based on a Zip Code searches * Admin interface to approve posts * Perhaps a way to charge visitors … | |
Hi I would like offer the user a choice of displaying search results. They should be able to select which column to ORDER BY and in ascending or descending order. $sort_order contain colums name $sort_type contain desc or asc How can I use these two arrays in the order by … | |
Trying to display images in html by calling a php script in the img tag. php script fetches the image binary from mysql. image is not displaying. here is img tag [code=html] <img src="getdata.php?id=1" /> [/code] my question is, it seems people are using the "...php?id=1" to pass an identifier … | |
i get this error: [B]Parse error[/B]: parse error, expecting `';'' in [B]/../../../../addCouple.php[/B] on line [B]156[/B] [code=php] @ $db = mysql_connect("yah", "blah", "blah"); mysql_select_db("registry_DB", $db); if(!$db) { echo "Error: Could not connect to the database. Please try again later."; exit; } $sql = "SELECT uID FROM my_search_table WHERE uID LIKE '%". … | |
Hi, I have one doubt in mysql command using limit. I want to delete a first record in a table using mysql query. I using the below query DELETE from view_me where member_id = '$sess' LIMIT 0,1 But if I used the above query mysql cannot deleted the record. It … | |
HI im new to php nuke can anybody telll me how i can create many threads and chanee colour o web | |
[B]"Parse error[/B]: syntax error, unexpected T_STRING in [B]/var/www/site/ftproot/FutureTek/register.php[/B] on line [B]29" is what i get when i open the file in my webbrowser, here is the php code. <?php /***************************************************** * New user registration page. There are links to * * this page from the header on every otehr page … | |
According to my error messages there are two erros to the code below, does anybody have any idea what i have done wrong?? : [B]Warning[/B]: Unexpected character in input: '' (ASCII=92) state=1 in [B]/spare/apache2/htdocs/stud/c0356147/E-commerceshop/oscommerce-2.2ms2-060817/catalog/includes/boxes/links.php[/B] on line [B]4[/B] [B]Parse error[/B]: parse error, unexpected T_STRING in [B]/spare/apache2/htdocs/stud/c0356147/E-commerceshop/oscommerce-2.2ms2-060817/catalog/includes/boxes/links.php[/B] on line [B]4[/B] [COLOR=#0000bc][<?php [/COLOR]<tr> … | |
I am currectly completing a progect using os commerce, I have managed to add a box with a link to relevant page however i am having problems coding a a simple table, all i want to do is have three columns and several rows. Could anybody help? | |
i'm working on a simple search and results project. i don't have the database setup yet, but i'm working on that as we speak. i'd like for this to work the FIRST time i run it after the database is running. however, i'd like to add something to my search/results … | |
| |
i have a mysql table with a few columns. some of the rows in this table might contain the same content in the same column. for instance. my column titles are 'uID' 'product' 'item' 'need' 'yah' 'blah' 'blah'... here's what i need i need some advice on how to design … |
The End.