39,323 Topics
| |
please help me on this topic with sample code.thanks | |
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) … | |
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 | |
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 … | |
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 | |
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 … | |
i want to download images to folder from database. my database table has 2 fields imagename,imagepath. thanks in advance | |
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 … | |
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 … | |
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?? | |
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? | |
| 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(); ?> … |
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 … | |
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) … | |
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 … | |
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 … | |
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 … | |
how to pass selected datagrid text value to other php page message box ?? | |
Hello, I am looking for opensource messages that similar to email for internal admin elearning? Is there such a thing? Thanks in advance. Davy | |
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. | |
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 … | |
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 … | |
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 … | |
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 (?, ?, ?, ?, … | |
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 … | |
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' … | |
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 … | |
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; } … | |
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 = … | |
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? |
The End.