39,316 Topics
| |
i would like to know if i can check spaces between symbols in PHP. because i want the username for a member in my site not to contain space. for example:(joshua mwatu),this name contains space. i would like the script to check if the username contains space and display error! … | |
Hi, I was wondering if anyone out there could provide a few pointers to me on how to get started using a XML web service. It's a holiday feed so includes things like flights, bed banks etc But what I'm wondering is how do you query and get results from … | |
hello, I'm currently a PHP developer and I'm looking to learn new languages, what i found a good chose is ruby on rails. from what i came to know that ruby is much easier and fast way to develop web apps and uses techniques like MVC and DRY. however is … | |
I am trying to use a variable to refer to a column of a fetch_array. Problem is it is not working: [code=php] $table_field = "name"; $result = "select * from table"; while($myrow = mysql_fetch_array($result); $text .= $myrow[$table_field] . ", "; // Note: if I use 'name' it works fine... } … | |
Hi! here is my problem . I'm a psychology student and i'm trying to do a survey on my friends from my YM list . I want to send them forms in their inbox and they will answer back . My form looks like this : [code=html]<form method="post" action="http://mysite.com/feedback.php"> Question1 … | |
Hi guys, is it possible to use browser as online window with an application on it? For example with Excel??? | |
Hello, I have a login/registration script thats altered to correspond with my database. It includes the login, logout, change password, email validation, etc. I have it setup pretty well however, when I hit submit, the information doesn't go into my database. I get the error message "Data Missing" which comes … | |
Hello everyone! If you guys have a sec, can you help me out with some URL rewriting? I am transfering a site from typepad to wordpress for someone and the typepad links to post look like this: [url]http://www.domain.com/directory/year/month/post-title.html[/url] A wordpress link would look like this: [url]http://www.domain.com/year/month/post-title[/url] there is no extra … | |
Hi i had made a image upload script and working fine. Now I need to crop the image and save the image finally. Please any one give the idea of cropping image. Please help me.. Thanks Rajeesh | |
Hi Everyone! I have a general database question, I'll try to keep it short :) I am building a social site where users can log in and add status messages (like twitter), share photos, keep a blog on site, and so on. I will refer to these as element types … | |
Hi. I need to modify a PDF document(alter some of its text). So far I've managed to do it by splitting the document into three parts using fpdf. Then, I modify the text on the middle part. Finaly I merge them back together. Is there a way to alter the … | |
Hello fellow members: I want to nest my forum replies....meaning reply to a reply....so want to create a 2 dimensional array with one number refering to the orig post and the other for each reply on that post Could somebody please help me out. Thanks in advance my forum_replies table … | |
I have a VB application that connects to a PHP page for user validation, and I'm having some problems getting it to work for a particular user. I didn't wanna double post in both forums and Im not sure if its a PHP or VB problem so here is the … | |
Hi, I just read thought a tutorial on how to email pipe via evolk. When i try to send an email to the email address that is suppose to do the job, i get an error. "Mail delivery failed: returning message to sender pipe to |/home/username/public_html/pipe/email_pipe.php generated by [email]test@website.com[/email] local … | |
Hello, I am very new to PHP and have been working with it now for about a month. My site uses a script to process a POST and generates a new page. The page it generates is saved with the same name as a blank html file on the server. … | |
Hi, I want to create search functionality 1> create 2 radio button i>artical ii>Wikipedia when user check radio button artical and search it shows artical in website and when for check radio button Wikipedia it searches result from Wikipedia and display in site... How to do this ?? sample example … | |
Hi ,this is my code,see the bold letter that highlighted in this following program....If i am not redirecting this page to another page means ,i am facing big problem like for every refreshment on the browser a dummy data is get inerting into the table(last inserted values into table).to avoid … | |
Hi im having abit of trouble adapting a tutorial i found on nettuts for creating a photography website heres the link if you wanna check it out: [url]http://net.tutsplus.com/videos/screencasts/building-the-back-end-of-a-photo-site/[/url] Anyways this code is fine, although because i have several categories of photos i need to store them in seperate tables, was … | |
hello everyone .. I have to create a newsletter using php .... now one problem is that .. i have to send the output of one php page through the mail . now .. when i designed the newsletter i want to include some logo or image in the newsletter … | |
Hi everyone, I know this is very simple questions. But i want to know that in which case we use function include() and in which case we have to use function require() in php code. Please help me. Thanks, gagan | |
Hi,all I want to ask for the php code to check the password validation? It couldn't be entire alphabetic or entirely numeric? Thanks. | |
Hi All I'm trying to combat some SPAM coming through on a booking form. It's all the usual rubbish. I've been searching to find the php code that would do the following if ($msg contains http:// or [url]www.)[/url] {echo "Please don't put links in the comments - it looks like … | |
I tried doing this, and it didnt work. Im goign to identify the $css in the else of an if else statement; so when its else, it willl turn the web page that color, but i cant figure out how to acomplish it. [CODE] $css = "<style type="text/css"> body { … | |
Hi There, I'm currently creating a form and inserting the details into a database, the problem i came across is when the php checks and inserts the data i made the password md5 [code] $password = md5($_POST['password']);[/code] However if the user wants to request his password via email how will … | |
Hey, How do I implement multi-level dynamic navigation with php? Assuming my database would be like: [CODE] id name parent_id ---------------------------- 1 page 0 2 sub1 1 3 sub2 1 4 sub12 2 [/CODE] I've tried many ways, but haven't found any 'good' methods/implementations so far. Now I have: [CODE] … | |
hi guys, I was wondering if you could help me. I'm trying to create a report on my website through mysql and php. So I'm at the part where I have to pull in the parameters they want for the select statement. I'm using a dropdown box for this and … | |
Hi there, I am using AJAX XMLHttpRequest with PHP in order to view full project photos according to project id. This is my ajax request: [CODE]function getMessageResponse(str){ var xmlHttp; try{ // Firefox, Opera 8.0+, Safari xmlHttp=new XMLHttpRequest(); } catch (e){ // Internet Explorer try{ xmlHttp=new ActiveXObject("Msxml2.XMLHTTP"); } catch (e){ try{ … | |
hello everyone , I am beginner in PHP, I have a problem , I have a login page (login.php), where user can enter some necessary information ,after submiting ...it goes to another php page(submit.php) and do something there , ... however on that submit.php it perform some business logic validation … | |
hii there.. im have created a user login page with php and mysql. but somehow im having problem when i try to show username information after user login. i have put this code <? echo $myusername ; ?> but it doesnt show the username.. what can be the problem? thnks … | |
Hi, all I tried this many times in XAMPP. It always not give me direct which stuck me now. Here is my code: [code=php]if (mysql_num_rows($result) == 1) { $_SESSION["authenticated"] = TRUE; redirect("index.php"); } else { die("could not find a row"); }[/code] My redirect function code is really normal: [code=php] function … |
The End.