39,323 Topics

Member Avatar for
Member Avatar for prasangi
Member Avatar for hallianonline

I have little problem in my wordpress template it showing me the the posts in decending form (the oldest posts showing first) Is there any way to customize this code and add an orderby little function in it? please help me in this <?php $i = 0; if ( empty($image_width) …

Member Avatar for hallianonline
0
249
Member Avatar for arctushar

Hi I want that a div will be shown if a specific facebook page is not liked. Say I have a page facebook.com/abcd Now I want that if visitor liked the page then show content otherwise it will show like button. How can I do that. plz help

Member Avatar for DJBirdi
0
124
Member Avatar for wikit

Thanks for your patience, i'm still trying to learn I've gotten most of my stuff on my website to work, but i'm trying to do one more thing I have a WORKING insertion script for a mysql database using a php page that forces the CharName in the database to …

Member Avatar for Banderson
0
314
Member Avatar for rubai

Hi, I need to make a small plugin/ module. There would be a text field with submit button. This text field to enter zipcode. Onece an user submit a zipcode some info will be fetched from database. I know how to connect database, basic php mysql, javascript. Thanks

Member Avatar for diafol
0
582
Member Avatar for DJBirdi

I just wanna get a feel for the opinions that exist out there about this subject. I've worked with everything from small to very large image storage requirements within PHP and MySQL. What are some of the issues/usage requirements that you guys look at when considering building mysql apps that …

Member Avatar for JorgeM
0
228
Member Avatar for malatamil

i want to download images to folder from database. my database table has 2 fields imagename,imagepath. thanks in advance

Member Avatar for diafol
0
69
Member Avatar for Hilal2009

I have almost one year programming experience in PHP, but always I'm facing a greate challenge of capturing spesific Time when user submit a post into a forum. Simply I have created MySQL Database table which store date, Time, and user coment, But when user submit a coment to the …

Member Avatar for diafol
0
5K
Member Avatar for JulieR31392

Hi there im having a issue sending to yahoo aol ect. but can send to icloud. below is the code any idea what im doing worng. Like i said it send fine to icloud. $message = "Hello \n Thank you for registering with us. Here are your login details...\n User …

Member Avatar for Borzoi
0
150
Member Avatar for ankit1122

how could i send email to list of email addresses inside a mysql database?? i want to create a site helping students find home tuitions. when students fill form regarding subjects they want tuitions ,concerning teachers should get e-mail..tell how can i do this??

Member Avatar for Banderson
0
400
Member Avatar for Jack_9

I'm a PHP developer and me and some other developers that I have seen have developed some applications that aren't for websites using PHP. Is PHP still considered a "web" language, or not?

Member Avatar for veedeoo
0
237
Member Avatar for sundeep.gurroby

hello,i have no idea where i will put the passwod_verify function and what i must code the verify exactly in order to get the plain txt password be compared with the hashed version ? my code is below and part of my database also. <?php require_once('Connections/bankusers.php'); ?> <?php session_start(); ?> …

Member Avatar for sundeep.gurroby
0
628
Member Avatar for Sammys.Man

Hi guys, Was wondering if anyone knows of any tutorials or code so that i can learn how to create charts from scratch. also i havent learnt any javascript so is there another that this can be done? i have tried playing with phpgraphlib, but i cannot seem to dynamically …

Member Avatar for Sammys.Man
0
132
Member Avatar for Jake2025

Greetings, I am having a problem on retrieving the users firstname after logging in. Here's my code <HTML> <BODY> <?php session_start(); include ("connectDB.php"); $stud_test_ID = $_POST["testIDtxt"]; $password_Field = $_POST["Passtxt"]; $insertSql = "SELECT firstName FROM testdb WHERE stud_Id = '$stud_test_ID' And Password = '$password_Field'"; $result = $mysqli->query($insertSql); $numrows = $result->num_rows; if($numrows==1) …

Member Avatar for DJBirdi
0
164
Member Avatar for malatamil

downloadsingledata_csv.php <?php /*mysql_connect("mysql1408.opentransfer.com", "A894703_Allspa13", "Beauty_13") or die(mysql_error()); mysql_select_db("A894703_beautyspa") or die(mysql_error());*/ $id = $_GET['id']; include('db.php'); $count = 0; $sqlquery = "SELECT s.Companyname,s.ContactPerson,s.EmailId,s.Url,cp.`city_id`, rc.`RelatedCatagory`,ck.MainCatagory,st.state FROM `spa` s left join relatedcatagories rc on rc.spaid=s.id left join catagorykeywords ck on ck.id=rc.mainCatagoryid left join subcatagorykeywords sub on sub.id=rc.RelatedCatagory left join city_place cp on cp.spaid=s.id left …

Member Avatar for malatamil
0
234
Member Avatar for Vishnu_4

Hi, I have strings like '00101', 00010, i need to find out the count of occurence of 0 from the begining of the string only.In the case of first string i need the count should be 2 and in the second case count should be 3.How can i do this …

Member Avatar for urtrivedi
0
151
Member Avatar for mark.giles.14

Not sure exactly how to ask the question of what Im trying to do but will try explain it and insert the code. But the basics of the question is Im running a sports website with a database with several tables. PersonProfile Coach_Career League Club all linked via fields PersonProfile.pid …

Member Avatar for mark.giles.14
0
234
Member Avatar for Sanjeev.

how to pass selected datagrid text value to other php page message box ??

Member Avatar for urtrivedi
0
146
Member Avatar for davy_yg

Hello, I am looking for opensource messages that similar to email for internal admin elearning? Is there such a thing? Thanks in advance. Davy

Member Avatar for veedeoo
0
320
Member Avatar for Jack_9

Can you make an android app with the languages PHP JSON and others like that? Like is there a specific frameworkd for it to run on? Any answer is gladly appreciated.

Member Avatar for veedeoo
0
223
Member Avatar for mexabet

I'm having an issue with coding a script that enables a logged in user to change his/her password. But when the form is submitted, a strange, blank page is displayed. There's no error message. Can you guys please, help me to resolve this issue? I'm not yet proficient in PHP …

Member Avatar for cereal
0
343
Member Avatar for accra

Hello, i want to allow my users to reset their passwords if they forget it. My problem is that i lose the code sent to user via email, if this is the link sent to user via email http://localhost/citi/forgot.php?code=8b15388bc5ca7e2821ab6ce59b465f684942dd7901f4e31439575ab72028f84f , when the user get to forgot.php and type in the …

Member Avatar for cereal
0
451
Member Avatar for Jack_9

I was wondering because I know that you can do things such as create a website using php and such. And then there can be an instllable file, one for the user one for the admin. Then there can be mobile apps that all run on the same database. My …

Member Avatar for almostbob
0
156
Member Avatar for everton.retweets

Hi Everyone, I am trying to get to grips with php prepared statements, I am getting there slowly... My question is how do I ge the last insert ID from the following. if ($stmt = $mysqli->prepare("INSERT INTO tbl_name (value1, value2, value3, value4, value5, value6, value7) values (?, ?, ?, ?, …

Member Avatar for diafol
0
1K
Member Avatar for lloydsbackyard

I have this code below for export mysql database to excel..however, if i run this it will only export the html code of the page not the sql query..please help..thank you. <html> <head><title>Exports</title> <link rel="stylesheet" href="css/css.css" /> <h2>EXPORT DATE/YEAR</h2></head> <form action="" method="post"> <table> <tr> <td><input size="40" name="searchString" type="text"class="ed" /> <select …

Member Avatar for urtrivedi
0
1K
Member Avatar for ayeng

Hi, I need help! I want my textbox value to be change using jquery in cakephp during onchange event of my textbox. below is my add.ctp code: <div class="jobs form"> <?php echo $this->Form->create('Job', array('type'=>'file')); ?> <fieldset> <legend><?php echo __('Add Job'); ?></legend> <?php echo $this->Html->script('ckeditor/ckeditor'); date_default_timezone_set('Asia/Manila'); echo $this->Form->input('users_id'); echo $this->Form->input('comp_name', array('label' …

0
132
Member Avatar for Jack_9

In my personal opinion PHP is a great language. I love that it can be written with html and css for style, and database and such quality. But why do PHP deevelopers earn less then other types? PHP helps get the website through sql and helps make it interactive. You …

Member Avatar for veedeoo
0
142
Member Avatar for rjusman90

this code search all data not from current pagination page <html> <body> <div id="content"> <style> .current { padding: 2px 5px 2px 5px; margin: 2px; border: 1px solid #000099; font-weight: bold; background-color: #000099; color: #FFF; } li { display:inline-block } </style> <?php include"connection.php"; $start=0; $limit=5; $id=''; if(isset($_GET['id'])) { $id=$_GET['id']; $start=($id-1)*$limit; } …

Member Avatar for rjusman90
0
328
Member Avatar for ashalatha

Controller: $data['error'] = ''; //initialize image upload error array to empty $config['upload_path'] = './uploads/'; $config['allowed_types'] = 'csv'; $config['max_size'] = '10000'; $this->load->library('upload', $config); // If upload failed, display error if (!$this->upload->do_upload()) { $data['error'] = $this->upload->display_errors(); $data['mainpage']='category'; $data['mode']='addcsv'; $this->load->view('includes/mainpage',$data); //Category Id Category Name Sub-category Id Sub-category Name } else { $file_data = …

Member Avatar for veedeoo
0
280
Member Avatar for samy.youssef.12

whenever i use mysql_connect() It gives Fatal errror of using unidentfied function i'm using mysql version 4 on windows 7, what to do? it looks like php never heard of that function, wonder if someone does have a straight forward solution?

Member Avatar for samy.youssef.12
0
392

The End.