39,323 Topics

Member Avatar for
Member Avatar for swingingstars

Hi... when i use mysql queries with php, is there any way to load my page faster? Can certain divs or tables that use mysql query being executed last? after the page fully loads?

Member Avatar for swingingstars
0
157
Member Avatar for prethum

hi i am working on pagination too i have a problem i am sure u can fix it: i have to list box city and type, city =list of cities and type=hotel,bars ... when the user select from the lsit box and press search i get the out put from …

0
87
Member Avatar for queenc

hi i have a search page where the user will enter some search keywords and click search.in the next page it will display thesearch result.when the user clicks a search result(a link) it will redirect him to the next page which contains the detail result.when he clicks search result link... …

Member Avatar for helraizer
0
3K
Member Avatar for mnetwerk

I am building a database for a fan club, as I test the signup page I get these errors: Can anyone help Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/rmilnerx/public_html/lilmaq/vSignup/process.php on line 50 Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in …

Member Avatar for helraizer
0
103
Member Avatar for Scottmandoo

In my last topic i quess i was asking to much so no one would help me, so this time ill take it one step at a time, heres my first problem. [CODE]<? include("dbinfo.inc.php"); mysql_connect(localhost,$username,$password); @mysql_select_db($database) or die( "Unable to select database"); $query="SELECT * FROM tutorials WHERE tut_program='Photoshop' AND tut_category='Text …

Member Avatar for prethum
0
2K
Member Avatar for aran87

hello i got two vaildations on one form but can i have two submit buttons?? onSubmit="return checkcheckl(?)"

Member Avatar for ultra vires
0
53
Member Avatar for cali_dotcom

Parse error: syntax error, unexpected T_STRING in E:\Program Files\wamp\www\practice\addentry.php on line 89 hi, i keep getting this error and i just cant figure out what is wrong. i got this code off a book that uses php v 5.1.4 and my wamp server runs php v 5.2.5, could this be …

Member Avatar for ryan_vietnow
0
333
Member Avatar for rudevils

Hi all, can someone tell me how to display image in select form element i've try to do this, but its not workin [QUOTE] <select name="select"> <option><img src="banner-xmas.gif"></option> </select> [/QUOTE] hope u guys can figure it out

Member Avatar for rudevils
0
85
Member Avatar for helraizer

Hi folks, I have a script that pulls user comments from a database, which works fine. It's an image based script so I'm trying to now add emoticons, for such as =D or =) To do this I plan to use list(,,,,,,$left,$top) for the imagettfbox of where =D or =) …

Member Avatar for helraizer
0
113
Member Avatar for nickyspace

Hi all I have a little issue with this php code. Below is the code CODE: PHP 1.<? 2. include("../includes/common.php"); 3. include("../path.php"); 4. 5.$func_ary=array("dental_view","add_data","add_data2","mail_data","thanks"); 6.if(fe($_REQUEST[act])) 7.{ 8. $_REQUEST[act]($_REQUEST[msg]); 9. die(); 10.} 11.dental_view(); 12.die(); 13. 14. 15.################################################ 16.function dental_view() 17.{ 18. //global $Server_View_Path; 19. $t=new Template("templates"); 20. $t->set_file("MyFileHandle","dental_tourism_quote_step1.htm"); 21. $t->set_var(array("SERVER_PATH"=>$Server_View_Path, 22. …

Member Avatar for phper
0
147
Member Avatar for aran87

hello ive used disabled="true" but this disables text from been inserted into a database i need a function which does'nt allow data to be entered into a textbox but still passes information to next page or a database what could i use?? thanks

Member Avatar for phper
0
74
Member Avatar for pancgom

Hi, I have this page which has 2 fields name of the referee then the email address of the referee , this will be the first set of information. Then when the user click the add reference button there has to be another set of fields similar to the one …

0
73
Member Avatar for Tess James

While making the bar graph a horizontal one(JPGraph), am not able to align the axes' titles accordingly.. The titles r not shown parallel to the axes.. Solution PLZZZ..

Member Avatar for Tess James
0
110
Member Avatar for ramso

am having a problem in my PHP form for a database in the field of DATE, i want it to display a pop up calendar,plz i need your help!!

Member Avatar for nav33n
0
83
Member Avatar for pancgom

Hi, I have 2 radio buttons which needs to submit a checked value to the database and then retrieve the same when called back in to display...any idea where i can get an example for this.. thanks a lot..

Member Avatar for queenc
0
109
Member Avatar for zatie
Member Avatar for mrcniceguy

IS THERE A POSSIBILITY OF SELECTING TWO DATABASES/TABLES AT THE SAME TIME??? I MEAN IN ONE scripts(login.php). Simply i need when someone login in my web,Just after login All his info two display including his photo which is in Different database Or table. AnyOne two help Me?

Member Avatar for mrcniceguy
0
213
Member Avatar for JNathanson

Hi there, Is there any way, maybe using mod_layout, to force certain subdomains to have ads forced on their pages? I.e. for a free hosting company. Thanks,

Member Avatar for somedude3488
0
128
Member Avatar for mgn2683

I was wondering if anyone has any experience in showing images that are stored in a database. I am setting up a list and detail page for a Realtor site. We aren't storing the images in the database, but the image name. There is a thumb and full size. I …

Member Avatar for somedude3488
0
69
Member Avatar for itstopnotch

Hi , Im looking for a script that will manage reviews. Im looking at adding this to a site. What I need is a script or CMS that I can write a review for a product or in most cases a game that has a star rating system. I also …

Member Avatar for itstopnotch
0
76
Member Avatar for aran87

Hello ive got this code to check if a checkbox has been checked i want the user to at least check one checkbox, if they select none then an message should appear saying you havent selected any checkboxes. the user can only select up2 two checkboxes ive tried this code …

Member Avatar for queenc
0
72
Member Avatar for jinchiruki

hi all.. i had this problem when i click submit at a form..this things comesout [B] Warning: session_start(): Cannot send session cache limiter - headers already sent [/B] but the data submitted available in db table. whats the error actually??? fyi,this mini system have login..but for the form,i didn't set …

Member Avatar for johnsquibb
0
64
Member Avatar for imanust

Hi everyone, was trying to make login. wanted to make the query to get details off sql safer and used sprintf but it does not work. the code is as follow: [CODE]<?php session_start(); include('db.php'); if(isset($_POST['submit'])) : // Username and password sent from signup form //stripping $username = strip_tags($_POST['username']); $password = …

Member Avatar for blocblue
0
98
Member Avatar for maddogsprofiles

these are the error codes that keep coming up: Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in /home/maddog/public_html/profiles/v. 2.0/functions.php on line 4859 Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/maddog/public_html/profiles/v. 2.0/functions.php on line 19 Warning: mysql_num_rows(): supplied argument is not a …

Member Avatar for ultra vires
0
97
Member Avatar for Lodgey

Hi Forum users, I have recently tried to put together a php contact form but when it sends it doesn't have the visitors email address. I receive the email with the subject and message addressed to myself from myself. I would also like to add the visitors name on the …

Member Avatar for mexabet
0
188
Member Avatar for cork

Hi. I'm trying to create a cookie where the name is the username that a user submits through a form and the value is the number of their visits. I can't get the number of visits to increment. Any ideas why this is not working? Heres my code: [code]<?php $Username …

Member Avatar for cork
0
1K
Member Avatar for Venom Rush

Hi there I need help making my URL's look pretty. I've done the editing of the .htaccess file with regards to mod rewrite from this article ([URL="http://www.roscripts.com/Pretty_URLs_-_a_guide_to_URL_rewriting-168.html"]Pretty URL's[/URL]) but I have no idea on how to implement the php side of it. The article mentions creating a variable out of …

Member Avatar for Venom Rush
0
85
Member Avatar for niladri.user

Why the warning is showing and the header is not sendingwith this script? <?php function authenticateUser($user,$password) { $con=mysql_connect("localhost","root",""); mysql_select_db("niladri",$con); $sql="select * from user_profile where user_id='$user'and password='$password'"; $res=mysql_query("$sql",$con); if( ($row = mysql_fetch_array($res)) && ($user_id==$row["user"])&&($password == $row["password"] ) && ($password !="") ) return 1; else return 0; } ?> <?php $form_user_id=$_POST['form_user_id']; $form_password=$_POST['form_password']; …

Member Avatar for nav33n
0
147
Member Avatar for chitra1

Hi, I am trying to use sessions to display information from one page to the next one but I am having the following problems. Could anyone plz help me??????????? Here is my code: <?php $pnm1=$_POST;/////////name of text box from previous page include("db_connect.php"); $sql="SELECT * FROM new_party WHERE party_name='$pnm1'"; $result=mysql_query($sql); $count=mysql_num_rows($result); …

Member Avatar for buddylee17
0
86
Member Avatar for slacke

I have php code for simple file uploadings. I have index.php with form [CODE] <form action="upload.php" method="post" ENCTYPE="multipart/from-data"> Choose file <input type="file" name="userfile" size="50"> <input type="submit" value="Upload"> </form> and upload.php <?php $uploaddir = '/var/www/htdocs/upload/data/' $uploadfile = $uploaddir . basename($_FILES['userfile']['name']); * if(is_uploaded_file($_FILES['userfile']['tmp_name'], $uploadfile)) { * echo "file uploaded."; } else { …

Member Avatar for slacke
0
104

The End.