39,326 Topics

Member Avatar for
Member Avatar for Cristianh21

Hi, i'm trying to select two values from my database. $nc ='North Carolina'; $t ='Hello'; $q = 'SELECT COUNT(state, title) AS c FROM all WHERE state = "' . mysql_real_escape_string($nc) . '" AND title = "' . mysql_real_escape_string($t) . '"'; $rq = mysql_query($q); $fetch = mysql_fetch_assoc($rq); $count = $fetch['c']; echo …

Member Avatar for The Diamonds
0
278
Member Avatar for chrisschristou

hello Dany web friends how to use cookies session in php, how to insert cookie in database table to rember user, i would like to rember what page a user viewed on my website... and i think i can use cookie for SESSION but i don't know how to use.

Member Avatar for chrisschristou
0
1K
Member Avatar for leadcrumb

I made a new MySQL table in Phpmyadmin in Wordpress in the same database from Wordpress but a new table. I want to make a new page and add a script in the body that allows: 1. when i insert the page title to the new page, the script should …

Member Avatar for leadcrumb
0
391
Member Avatar for Iikeloa

Hi I have a problem with uploading files in php, and I don't know what is wrong :( this is my code : <?php //require_once('inc/config.php'); ?> <html dir="rtl"> <head> <title>تسجيل شركة جديدة</title> <meta http-equiv="content" content="type/text" charset="UTF-8" /> </head> <center> <form action="register.php" method="POST" enctype="mulipart/form-data"> <input type="text" name="username" placeholder="اسم المستخدم" /><br /> …

Member Avatar for Iikeloa
0
203
Member Avatar for navneil

Below are 2 functions that will handle the Query and rending of the menu from MySQL Database. This function Loops through the array. Takes in 2 arguments. function loop_section($array, $parent_id = 0){ echo '<ul>'; foreach($array as $section){ echo '<li>'; echo $section->section_name; echo '</li>'; } echo '</ul>'; } This function handles …

Member Avatar for broj1
0
244
Member Avatar for abhijit_2

Create a username that's at least 6 characters.It may include uppercase and lowercase letters. Usernames are case-sensitive. It also must include either:at least one number; or one of these symbols:_@/-

Member Avatar for deceptikon
-1
135
Member Avatar for abhijit_2
Member Avatar for deceptikon
0
119
Member Avatar for hriti
Member Avatar for hriti
0
1K
Member Avatar for Stefce

Hello i will ask directly with out explaining, how can i close this echo ??? <?php echo "<div class='date'> date("Y/m/d"); </div>"; ?> It gives me some error like `Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/a5834708/public_html/index.html on line 149` Thanks :)

Member Avatar for cereal
0
181
Member Avatar for Cristianh21

Hello, I'm having a problem with my code. It seem to only echo out the picture name from my database and not the picture. This is my code search.php $result = mysql_query("SELECT * FROM all WHERE (`title` LIKE '%".$query."%') OR (`add_type` LIKE '%".$query."%')") or die(mysql_error()); if(mysql_num_rows($result) > 0) { while($results …

Member Avatar for broj1
0
291
Member Avatar for The_Thorn

Hello. I am beginning to re-develop a small database using PHP/MyQL; I have already sucessfully done this a year ago but no longer have access to the machine, code or credentials. It worked great! But now, I'm rebuilding it. The test site (PHP) seems to be fine. I see no …

Member Avatar for The_Thorn
0
172
Member Avatar for m2z

Hello there, I'm searching for a office intranet script which includes: **My Blog** : Blog Post By Internal Writer Or External Sources **My Docs** : Important Docs (product Notes, Company Profile, Faq) **My Task** : Task & Projects Assigned & Progress **My Hr** : Who Is Who With Email Address, …

Member Avatar for m2z
0
201
Member Avatar for james_white

hi i am currently working with php which requires registration once the user registers with his/or her details then an email is sent to the user for activation once the link is clicked the account is activated this works perfectly but the question is how do i expire the link …

Member Avatar for diafol
0
2K
Member Avatar for neha05

I have <?php $args = array( 'posts_per_page' => 5, 'offset' => 0, 'category' => '', 'orderby' => 'post_date', 'order' => 'DESC', 'include' => '', 'exclude' => '', 'meta_key' => '', 'meta_value' => '', 'post_type' => 'ait-dir-item', 'post_mime_type' => '', 'post_parent' => '', 'post_status' => 'publish', 'suppress_filters' => true ); $myposts …

Member Avatar for diafol
0
197
Member Avatar for ria.yaoto

Somebody can help me. I'm new in php and highcharts. I tried to populate my chart using mysql and php, but when I tried to run it, the chart didn't appear, only a blank web page. And there's no error appeared. Her's my codes (sorry for messy code): <!DOCTYPE HTML> …

Member Avatar for urtrivedi
0
538
Member Avatar for hriti

can anyone tell me the code for custom search of own website..i want to put code in my site for searching the comtent within the site... thanks n advance...

Member Avatar for hriti
0
97
Member Avatar for karthik_ppts

Hi Frendz, I need to integrate collabrative editor in my application as code editor with socket programming. Kindly suggest me your thoughts.

Member Avatar for chrishea
0
108
Member Avatar for titos97

Hi Guys , I couldnt dispay sum of a column of sqlite database in php . I tried the sql statement in database its working fine but not sure how to dispay the result in PHP . I belive i need to fetch it and then dispay any help will …

Member Avatar for titos97
0
630
Member Avatar for samoual

Hello Every one i have samll Problem Here iam using codegniter and i have template that i use in all my views in some page i afound that i can use grocery crud as it will make it easer to show and it will give better look , as iam …

Member Avatar for cereal
0
288
Member Avatar for sandhu4222

Hi, I need online quiz script written in php with full source code for my course project. Please help me. Thanks

Member Avatar for sandhu4222
0
1K
Member Avatar for abhijit_2

anybudy tell me how to send forget password mail to users mail id saved in database

Member Avatar for diafol
0
137
Member Avatar for Dr_Freeman

Greetings. I have a bit of situation here. I'm using symfony2 and facebook SDK to set up a web service for my IPhone and Android applications. The problem is that the background work can take quite a while. User is first redirected to facebook login page where he can proceed …

Member Avatar for chrishea
0
424
Member Avatar for geneh23

Hey everyone, I'm trying to create a form to upload files and create links from the uploaded files to download for whoever visits that particular page. I've gotten the files to upload to the folder and display as a link but whenever I refresh the page, the links go away, …

Member Avatar for geneh23
0
337
Member Avatar for yavindu

if(isset($_POST['adate']) && isset($_POST['atime']) && isset($_POST['discno']) && isset($_POST['babybht']) && isset($_POST['motherbht']) && isset($_POST['ward']) && isset($_POST['namebo']) && isset($_POST['address1']) && isset($_POST['address2']) && isset($_POST['telephone']) && isset($_POST['ageonadmission']) && isset($_POST['admissionweight']) && isset($_POST['bdate']) && isset($_POST['btime']) && isset($_POST['poaw']) && isset($_POST['poad']) && isset($_POST['bweight']) && isset($_POST['placeofdelivery']) && isset($_POST['admittedfrom']){} If I use so many boolean operators in a 'if condition' like above …

Member Avatar for diafol
0
107
Member Avatar for Linddha

i have table article 1. id_arc int (11) auto increament 2. judul varchar (225) 3. isi text 4. date datetime --ect i already create a script to input data and run well but if i try to input more than 2 paragraf this script doesn't work.. what happen? i use …

Member Avatar for diafol
0
206
Member Avatar for pritaeas

The following snippet shows how you can use binding in your queries when using MySQLi. For starters, here's the table structure I've used: CREATE TABLE `mytable` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `name` varchar(255) DEFAULT NULL, `email` varchar(255) DEFAULT NULL, `dob` date DEFAULT NULL, `level` int(11) DEFAULT NULL, PRIMARY …

Member Avatar for pritaeas
3
1K
Member Avatar for karnan.yuvan

I m a web designer and developer at fusion web technology in coimbatore. I have 6 month experience in this field. But they give three thousand salary only. It's not enough for my allowance. How they give to parents as a salary. So i call to chennai for Web development …

Member Avatar for happygeek
0
264
Member Avatar for mangel.murti

http://www.vsshare.vsshare.hop.clickbank.net when i want to share or post above link (facebook) from my application it is not sharing it. any solution?

Member Avatar for pixelsoul
0
90
Member Avatar for suncica2222

I need regex for parsing phpbb forum style quote tags, general case with preserved items order. Like quoted, unquoted, quoted, quoted, quoted... etc... Also there are NOT NESTED quotes. I'll explain on example. some unquoted text11 [quote="person1"]some quoted text11[/quote] [quote="person2"]some quoted text22[/quote] [quote="person3"]some quoted text33[/quote] some unquoted text22 ... [quote="person4"]some …

Member Avatar for pixelsoul
0
349
Member Avatar for nsandberg

A few years ago I posted this: http://www.daniweb.com/web-development/php/threads/300959/checkbox-loop-in-php Looking for some help. I got the help that I needed and finished my project days after I got help. After using the PHP script for two+ years just last week an error started popping up. I never had a single issue …

Member Avatar for diafol
0
286

The End.