39,402 Topics
![]() | |
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 … | |
I have already completed a form registry and works!!. Well nearly I have an error which displays this [CODE]Warning: extract() expects parameter 1 to be array, null given [/CODE] Heres the code [CODE]<?php /* Program: Login.php * Desc: Login program for the Members Only section of * the pet store. … | |
Hi, I have the code below for a login script. I not finished it yet and i moved from Dreamweaver to Netbeans a while ago and all my code has lost it's indentation and formatting. I am missing some curly bracelets i am sure of it but cannot find where … | |
i am trying to register 2 sessions. one is supposed to get the id of the user logging in, the other is supposed to get the persons username. here is the login page: [CODE]<?php session_start(); include "dbconnect.php"; $myusername=$_POST['user']; $mypassword=$_POST['pass']; $myusername = stripslashes($myusername); $mypassword = stripslashes($mypassword); $myusername = mysql_real_escape_string($myusername); $mypassword = … | |
This is a very simple bbcode example to use on a forum or your pages. Add this to a function page and make sure the function is required on the page you want to on. ENJOY!! :D | |
Here is the query: [code]mysql_query("UPDATE il_pageparameters SET totalvisitor_to_refer=$totalvisitor_to_refer, referer_page_url='$referer_page_url', message='$message', rewardmessage='$rewardmessage', background_image='$bg', poweredby='$rg', istoshowrm=$istoshowrm, msg1='$msg1' WHERE id=$configid;");[/code] I have tried echo'ing the output: [code] echo "UPDATE il_pageparameters SET totalvisitor_to_refer=$totalvisitor_to_refer, referer_page_url='$referer_page_url', message='$message', rewardmessage='$rewardmessage', background_image='$bg', poweredby='$rg', istoshowrm=$istoshowrm, msg1='$msg1' WHERE id=$configid;"; [/code] Run the echo'd output manually in phpmyadmin and it works fine. … | |
Hi, I currently created a video uploader, but when the video is too big in size, the page seems to be not doing any until the video is completely uploaded. I want to put somewhat like "loading.. please wait" script until the video is not completely uploaded. Thanks. //Ana | |
hi can u plz tell me that how to Enable and disable of text box through a button in php???? plzzzzzz give me any little example or syntax!!!!!!!!!!!!! | |
Hi all, i need help in unsetting session variables through ajax thanks in advance | |
Hi, I have a sign up form that generates a activation key and emails it to user and they cannot login until account has been activated etc. I know how to do the MySQL query to check if activation key already exists and have a function that generates a random … | |
Hi Everyone, I'm trying to create a comment field on my site also. I know very very little about coding and IT so I am completely lost. Could someone provide me with a script I can simply copy and paste into my current page? Here is the site I am … | |
Why do I get the extra "3" in this replacement? $s='This is 3a and 3b'; $pattern='/3([a-z])/'; $replace='[$0]'; preg_replace($pattern, $replace, $s) gives 'This is [3a] and [3b]' I thought $0 refers only to the match in the parenthesis. Same with $replace='[\0]'; I want: 'This is [a] and [b]' Thanks for any … | |
We have a client that came to us, and his admin panel is using a iframe system, [CODE]<html> <head> <title>Administration Area</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <frameset cols="180,*" frameborder="NO" border="0" framespacing="0"> <frame src="menu.php?id_mnu=prd" name="leftFrame" frameborder="yes" scrolling="YES" noresize> <frame src="landing.php" name="mainFrame" frameborder="yes" bordercolor="#000000"> </frameset> <noframes><body> </body></noframes> </html>[/CODE] Now I'm loading landing.php … | |
Hello! I've created a script that allows you to create a 'page' by saving the relevant information to a MySQL database. One script will generate all of the pages that are created by the id # that is passed to said script. Of course. When saving the page's information MySQL … | |
hi, i am newbie. i have question how make search engine will crawl/spider [url]www.host.com/file.php[/url] for [url]www.host.com[/url] Thank You | |
please help me for this web masters out there my problem is: i have a that pulls out information from the database $query=mysql_query("select * from requirements) $rnum=0; echo "<form name='requirements' action='checkrequirements.php' method='post'>"; while ($requirements=mysql_fetch_array($query)){ $result=$requirements['requirementname']; echo "<input type='checkbox' name='$result[$rnum]'>" . $result . ""; $rnum++; } echo "<input type='submit' value='Enroll'>"; echo … | |
Hi folks I'm trying a auction script that can be accessed in this link: [url]http://www.argoestores.com/V607/index.php[/url] it works well on this hosting plan when i try to use the same script in windows 7 using wamp the page renders like this: [URL=http://img232.imageshack.us/i/imgah.png/][IMG]http://img232.imageshack.us/img232/8066/imgah.png[/IMG][/URL] the script needs a folder to be chmoded to … | |
Hi there, I am looking for some help on PHP/MySQL please :) I have a site where you add an item via a form which is then put into a mysql data base. I was wondering if there was anyway so that on this inital form there could be a … | |
I have another modification to make to my Random Image Script and I'm hoping someone can help me with the punctuation. I need to add an [usemap="#Map"] to the code on line #7 below: [CODE]<?php //This will get an array of all the gif, jpg and png images in a … | |
Dear All, Attached is one sample image. I would like to make it dynamic with different tyre configuration. The next thing I want is the ability to drag (each of the different tyres) to say few different functionalities which will be represented as icons. Thank you. Any idea. ![]() | |
Working on this off and on for two weeks! Probably super simple with someone with more experience. I simple have a food search engine. You enter in lets say "blue cheese" it pulls all things with blue cheese from my DB. I click on one of the blue cheese links … | |
Hellow everybodi... I succed to finish my first web site on local machine and i bought a host services and a domain name. After uploading files and mysql database I have only a huge blank page on index ....something it not wright.... Please help .... | |
Hi, I want to make a page that has a code that can make my image change into another image. Lets say I arrive at work one morning. I go to my "website" click on a red image, and in turns green. Now I want it to stay green all … | |
I was wondering why this line is being used in all the page of the html , PHP or even pages which was created by any language . <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> is this mandatory or any specific purpose | |
ok guys , because I’m really confused -- which is better in order to have a good website I need it secured , nut I want it fast also with a very good looking actually could u help me with which one to choose plz ? Thanks [URL="http://www.infysolutions.com"]http://www.infysolutions.com[/URL] [URL="http://www.infysolutions.com"] Outsourcing … | |
Hi to all experts in the forum. I know scripts can be executed through the command prompt,but what are other ways to execute it, if the file is on remote server. Please specify if any clarification is needed. | |
I have an html form which has 2 fields realuser and useremail it then submits on the php page .i have a database table named auth .my database has 3 fields i.e realuser,useremail and details ,in which i have filled "details" field already and rest 2 fields are blank.i have … | |
HI All, I have a small question regarding forms in php, and adding them to an array. [code] <table><tr> <td style="width:130px;" valign="middle" align="left" class="profile_link"> <input type="checkbox" name="suitwearing[]" value="HR Director" /> HR Director </td> </tr> <tr> <td style="width:130px;" valign="middle" align="left" class="profile_link">Other <input type="text" name="????" value="????" style="border:1px #E3A538 solid; width:100px; height:20px" /> </td> … | |
Hi I want to get news feeds from 'http://www.claimscouncil.org/news' this url. May I generate rss feed from this url? | |
Hi All, Im running a script that goes 3 deep on parentheses, and then needs to change database at the deepest level. Im having trouble switching to that database in an if else query. any help would be appreciated [code] function getElement1(){ $con = mysql_connect('localhost','uname','pword') or die (mysql_error()); $authenticate = … | |
How would i upload image files to a database and then display them using [CODE] <?php $query = "SELECT * FROM members WHERE email='$username' AND id='$id'"; $result = mysql_query($query); $row = mysql_fetch_array($result); ?> <img src='<?php echo $row['pic']; ?>'> [/CODE] and also, what kind of field should i use in the … | |
hi, i am having problem in making thumbnail of video. it is not working properly here is my code plz help [CODE]$ffmpeg=$_SERVER['DOCUMENT_ROOT'].'/admin/ffmpeg'; $image=$_SERVER['DOCUMENT_ROOT'].'/admin/video/thumbs/'."$id.jpg"; $video =$_SERVER['DOCUMENT_ROOT'].'/admin/video/'."$uname"; $cmds = "$ffmpeg -i $video -deinterlace -an -ss 1 -t 00:00:01 -r 1 -y -s 100x90 -vcodec mjpeg -f mjpeg $image 2>&1"; exec($cmds);[/CODE] thanx in … | |
My friends and I are building a site and are going to use Joomla. But before I delve into Joomla, I was wondering there are better alternatives. I would like Free and Commercial versions with comparisons and pricing (if it costs). The sort of site we're going to make are … | |
Good evening: I need assistance getting data formatted properly when it is pulled from my database. The database pulls everything correctly, so let's assume the following table: $results = $db->query($sql); [code] +----+--------------+--------------+-----------+ | id | name_of_item | cost_of_item | item_type | +----+--------------+--------------+-----------+ | 1 | product01 | 20 | 1 … | |
What stuff on a website can't be tested locally? If everything can what do I need to be able to test it? | |
Hello I m having great problem with indic(indian language) convert. for example Say I wrote something by google indic for bengali Now I copy this text and paste into textbox of my web form the after submitting it not showing desire result. my code is [CODE]$tvalue=$_POST['textfield']; echo ord($tvalue).' = '; … | |
Hi everyone! My boss is using a Java program called Animal Shelter Manager, which stores all images as BLOBs (Binary Large OBjects) in the database. She needs me to put all of those pictures she has stored on the shelter's website. I look at them in the database, and they … | |
I'm very new with this. I need to make all of the random images below link to the same page. In other words I need to add a 'hotspot' to this script. The code below is how far I've got: [CODE]<?php $img_array = glob("images/Coupons/*.{jpg}",GLOB_BRACE); //Pick a random image from the … | |
hi, the layout of my site is. there are five files (4 are inside the includes folder): index.php , header.php , pageniavigation.php , thumbnail.php , footer.php the header file is where you select the number of images you want to be displayed per page. the pagenavigation file contains the page … | |
Hi ppl, I copied the code of a small php web application from a remote machine(where it was running fine) to my local machine. Symfony framework is used to generate the frontend of this application. I want to add some features and enhancements to this application, so I installed sf_sandbox … | |
Hi, I have created a system where users can follow another user, I am currently querying the table to display who is following who. I have two queries as shown below: [code=php] // followers query $query = "SELECT * FROM friends WHERE friFriend='$view'"; $result = queryMysql($query); $num = mysql_num_rows($result); // … | |
Hi, I'd need a function where an optional argument takes on the value of another argument when it's not specified. I'd like to be able to write: function some_fun ($a, $b, $c, $d=$b) { ... However, this is not correct PHP syntax. I'd really like it to be, and may … | |
How would one go about having a unique forum made when user does a certain thing on a web site? On this web site I am making there are user groups and every time a group is made by a user, I want a unique forum made just for that … | |
I'm working on a script for a custom inbox to read e-mails. (We have several inboxes available to us on our hosting account but we need a custom one for a few reasons.) Today, e-mails have begun vanishing from the account -- they're not just gone from this custom inbox … | |
Hi Everyone, I have made my own forums/site which is working out quite well. The only problem I'm having is when people edit there topic or if I edit the news. The current topic or news is loaded into a textarea including all the line breaks which were instered via … | |
Hi people. I'd like to allow HTML code in my forum but I don't know how :) Would any of you explain to me how I could do it? Regards ![]() | |
Hello I’m trying to create a simple facility booking system using PHP/MYSQL for a leisure centre as part of my final year project. I’ve been looking online for the best way to do this and I can’t find anything of use. Does anyone have any idea what would be the … | |
I create a form which use the check box to get the info from user, but don't know how to write it in php for send to my mail, did any one can help me? my html: <!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" … | |
Hi, I am a beginner, and would like to do something like: I have a mysql table with date column. I would like to select all the rows from table, and print them out in tables. One table per month. E.g. January: ... ... ... February: ... ... ... etc. … | |
The End.