39,402 Topics
![]() | |
Hi all, Basically I'm banging my head against the wall recently trying to get a list of checkboxes to pass variables to a SQL query. If the checkbox is ticked then I wish for the a certain SQL query to be passed. This is my code at the moment that … | |
hey my host has disallowed the mail() function, any alternatives? | |
hello, everybody i have a problem , i have table , it contoin column ORDER ID, customer ID, amount, DATE. a problem when i type or create this table, i make a mistake i dont know where is my mistake when i type in mySQL database BY using ( MYSQL … | |
hi, i installed easyPHP on my windowsXP professional but it is giving an error " that apache can not be runned another web server is using the web port". is this problem due to partially installed IIS? how can it can be fixed? | |
Thank you in advance to anyone who can solve this for me. In a registration form of mine the user selects the state they live in with a drop down menu. | |
![]() | I have a form and upload script so people can upload games to my website. The form code: [code] echo "<form action=newgame.php enctype=multipart/form-data><table border=0 method=post bgcolor=1a1a1a><tr><td width=70%> game title</td> <td><input type=text name=title maxlength=48></input></td> </tr> <tr><td>summary</td><td><textarea name=summary rows=5 cols=30></textarea></tr> <tr><td>genre</td><td> <select name=genre> <option value=action>action</option> <option value=adventure>adventure</option> <option value=arcade>arcade</option> <option value=other>other</option> <option … |
My question is that in phpBB3 how can we give administrator or moderater to moderate all the post in forums ? thanks in advance | |
Is there a way to find the path to imagemagik on my server, I got the following code from someone to fin out if imagemagik is on the server [CODE]<?php echo "<pre>"; system("type convert"); echo "</pre>"; ?>[/CODE] I get the following back, is this the path? [QUOTE]convert is /usr/bin/convert[/QUOTE] | |
Thank you in advance to anyone who can answer this for me. In a registration form of mine the user selects the state they live in with a drop-down menu. In the 'Update' form I would like their previous choice to automatically display its selection. For example if my profile … | |
Hi, I'm trying to create a web ui that will run some scripts on my server (Ubuntu gusty). I want the user to be able to select some files on the server via some sort of file select form. The selected file path would then be passed to a text … | |
i need a solution.. i want to transfer a numeric value from a combo.. according to value with ajax/javascript i want to create radio button.. suppose i send 3 then , it will show 3 radio button.. plz help me... here is the javacript code [code] function radio_b(){ var a=document.getElementById("radio_button").value; … | |
I created a profile where,after registration and login in Someone can view his dteails. How can I do so that,he/she will be able to edit/update that same profile, after login in. i use "User" and password in login in. Help please!!! | |
Hello does anyone know how to bring details from a database into a textbox? becuase ive got the login working and it displays whos logged in but i want the postcode to appear in a textbox, the postcode is kept in mysql table called address. /after connecting to mysql [code=php]$query … | |
When i am loading the below page it is showing this error message: Parse error: syntax error, unexpected $end in c:\PHP5\www\JINO\Tutorial\mis\from net\login_full\register.php on line 76 Here line 76 is the last line.. Please help.. [code=php]<?php mysql_connect("localhost", "root", "") or die(mysql_error()); mysql_select_db("tutorial") or die(mysql_error()); if (isset($_POST['submit'])) { if (!$_POST['username'] | !$_POST['pass'] … | |
Hi, I am developing some PHP code for a client and part of the code must send emails. My development environment is using Eclipse on Windows. I want to test the email functionality from my local machine. I have to set the values in php.ini file but I am not … | |
Hiya my application is an online music video library where users can download music to their web browsers, mobile phones and pdas. right now my application downloads the track and plays the music track from the browser, I just want it to do the same on mobile phnes and pdas … | |
[CODE]<?php session_start(); if(!isset($_SESSION['un'])) { header('Location: web_login.html'); exit(); } else { ?> <html> <body> <?php print "<table align='center'><tr><td>Thank u</td></tr>"; echo $_SESSION['un']; print "<tr><td><a href='http://www.examples.com/fram.php'>View Order</a></td></tr>"; print "<tr><ta><a href='http://www.examples.com/web_job.php'>Search </a></td></tr>"; print "</table>"; } ?> </body> </html> [/CODE] when i execute this code even though my $_SESSION['un'] is present in the database it's … | |
hi now i want the first one alone to be seclectes on page load,rest should word based on the user clicks [CODE] SCRIPT LANGUAGE="JAVASCRIPT" TYPE="TEXT/JAVASCRIPT"> <!-- function view(s) { if(ss.options[s.selectedIndex].value!="none") { var a=document.getElementById('IndustryType'); var temp=a.value; parent.frameright.location = "http://www.website.com/web_desc.php?var=" + temp; } } --> </script> $result=mysql_query("select * from jopposting where owns='$id' … | |
if (empty($_POST['repair_number'])) { $errors[] = 'You forgot to enter your repair number.'; } else { $rn = escape_data($_POST['repair_number']); } Could someone tell me why I on my form do I keep getting an error that says "You forgot to enter your repair number." when I'm entering a number in that … | |
hi!! me i have a problem in PHP/MYSL database i dont know how send/store a data and receiving that data from the database by use codes ,i tried to do it so many times but i didnt get it. | |
I'm developing a ecommerce solution in PHP. The ADMIN is stored on one DNA while the stores are hosted on their own unique domains. My problem is that I need the images that are uploaded on the admin domain be available to the client domains without hot linking from the … | |
1st page .html [code=html]window.opener.top.location.href="2nd page.php?vars=" + temp + "&varr=" +temp1; self.close();[/code] 2nd page.php [code=html]if(mysql_num_rows($result) > 0) { print "<script>"; print " window.opener.top.location.href='3rd page.php'"; print "</script>"; } else { print "<script>"; print " window.location='1st page.html'"; print "</script>"; }[/CODE] in this code i'm passing javascript variable to 2nd page.php.when i execute it's … | |
hi frens I hav windows server with XP os . I need to make a contact us form for a website for which i want to use PHP. Will it run in windows server having IIS or it requires unix os TNX | |
Hi All, I am new to PHP, I have tried to look for similar error but could not find anwers that helped me. I am getting the following error: Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in C:\ ... register.php on line 109 Here is my … | |
Hello I'm building a factory for my DAO's and want it to return the correct DAO based on the class of the ValueObject passed to the factory. Now, if this was java I would use something like this: [code=java] if (valueObject instanceof User) { return new UserDAO(); } else if … | |
Hi all i need to recieve comment on my page and i need the message to go to my mail address can any one help me how to do it? thanx | |
Hi All, I Have a PHP Searching Code it have some problem it only connet to database but does not show any result.......... PHP Code is :- Search.php [code=php]<HTML> <BODY> <FORM Action="/Search.php" Method="POST"> <div align="center"> <table border="0" cellpadding="0" cellspacing="0"> <tr> <td bordercolor="#000000"> <p align="center"> <select name="metode" size="1"> <option value="name">Name</option> <option … | |
hi In my mail attachment i am able to recieve the attachment but the file size is 0kb. it is showing the below warnings please do tell the error in my code [QUOTE] home/wesite/public_html/profiles/resumes/153/ Warning: fopen(home/website/public_html/simple.txt) [function.fopen]: failed to open stream: No such file or directory in /home/website/public_html/mail_attachment.php on line … | |
I'm searching for a php script featuring real-time currency exchange rates. Does anyone know of a working script that [U]automatically [/U]updates 24/7? 1st preference is a scroller. 2nd preference is a chart like the one at bloomberg: [url]http://www.bloomberg.com/markets/currencies/fxc.html[/url] Any help or ideas would be much appreciated. | |
Hi, I'm interested in writing a PHP script that will allow a customer with a job number (ticket number) & a login password the ability to access their account within my database, and therefore have information on the status of their order. I'm only learning PHP, and any help or … | |
I had exported a table containing jpeg images in a ms access database to mysql using myodbc. The images were stored as mediumblob type in mysql. I now want to display the images stored in mysql as mediumblobs using php but am unable to do it. can anyone suggest the … | |
hello, i have aproblem in database, i dont know the code, how you can output my data from my database using php | |
Hi, I am very new to php still trying to find my way around it, i got this code which will pull everything off my database and display in one endless table across the page is there a way i can split it and display. [CODE=html]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML … | |
Hi all, I am using paypal for payment gate way integration .After successfull transaction i have to capture that transaction id.For sandbox account it was working fine.But for live transaction i am not getting that transaction id.Anybody can help me for doing this? With regards, Rajeev | |
Alright, I am currently working on a new project called Shaise (shaise.com) where I am working on redesigning the forums header. However, I will need to replace all of the forums links (ie. Board Index, Login, Register, and all of the other links that appear when signed in. If you … | |
I'm getting the following error on run Parse error: syntax error, unexpected T_VARIABLE in /www/99k.org/g/a/t/gatewayarcanum/htdocs/process.php on line 2 the code i'm using is [code=php]<? php $name = $_POST['name']; $email = $_POST['email']; $how_found = $_POST['how_found']; $comments = $_POST['comments']; mail("psidonwav@gmail.com", "Contact Form Submission", "Name: $name /n E-mail: $email /n How Found: $how_found … | |
Hi! I'AM A PROBLEM ON HOW TO UPDATE DATA IN THE DATABASE MYSQL CAN YOU GIVE A CODE PLSE? | |
When trying to resize photographs I am getting the following error on my test server. Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 11520 bytes) in C:\wamp\www\phototest\reqfiles\submit_photo.req.php on line 70 here is my code from line 67 to 74 [CODE]$src = ImageCreateFromJpeg($image); $dst = ImageCreate($tn_width,$tn_height); ImageCopyResized($dst, … | |
I was converting old asp files to php. But I'm stuck at this point. I'm looking for a triple combo listboxes where one has "book" the other "chapter" and the third "verse". The book is populated by a database table. Once book is selected then chapter is populated and then … | |
sometime I see pepole use @ with variables ex: @$cat=$_GET['cat']; is this something like pass by reference? can you direct me to a good tutorial in this matter Thank you | |
HI, I paid a web development company many thousands of dollars to develop a photo community site using PHP. After many months of delays the project was delivered, however much of the code is sloppy and nothing was commented. But that's not the problem I need help with today. This … | |
Hi! I'm kinda new in this field. However i badly need someone to overcome my dillema. I would like to create a simple way of free sms using email scripts. Lets say a mobile has its own email like [email]12345@mobilenetwork1.com[/email], and another [email]12345@mobilenetwork2.com[/email]! I want some one to be able … | |
If i have, for example, a marquee that displays time when i push a button,like this: [code=php] if($_POST['time']) echo "<marquee direction=right behavior=alternate scrolldelay=500 scrollamount=30>".date('d-m-Y').' GMT'.date('P').' '.date('H:i:s')."</marquee>"; [/code] ,it will display the time at the moment that i pushed the button. How could i make it to display the time continously? … | |
| |
i have looked at many regex charts and tutorials but i still cant get preg_match_all do what i need it to do. i need to return this example: [INDENT]param1,$config{}[/INDENT] from this string [INDENT] $new_config{param1,$config{}} [/INDENT] note: none of the data in the string has anything to do with php the … | |
hello ive got a sign in page it works and sends data to database but soon as i had validation code for an email address using java, and then when i click submit it comes up with this error below for every textbox even though all the textboxes have data … | |
hello there..i just want to ask how to connect database written using MS Access to interfaces created using Dreamweaver... having headache since i need to build an online system and i don't know how to connect the database to the interface...thank you... | |
[code]=php<?php if(!$dbconnect = mysql_connect('localhost', 'root', '')) { echo "Connection failed to the host 'localhost'."; exit; } // if if (!mysql_select_db('test')) { echo "Cannot connect to database 'test'"; exit; } // if $table_id = 'student'; $query = "SELECT * FROM $table_id"; $dbresult = mysql_query($query, $dbconnect); // create a new XML document … | |
ok so i want to create a URL like this: [url]www.blah.com/section.php?=news[/url] except i only see how to do it the other way using mod_rewrite. So is there a way to do this using mod_rewrite? | |
How cn we solve problem when we have warning : header already sent when we are using header("Location: test.php"); suggest your answer |
The End.