Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
~38.1K People Reached
About Me

Coder, Designer, Techie

Interests
PHP, Design, Technology, Science, Life
Favorite Forums
Favorite Tags
Member Avatar for Ventech_IT

I have a form that uploads a news article with it's picture and then stores all the info correctly. I am using codeigniter with Active Record and would like to know how to display the image with the post it was uploaded with. here is my upload script: public function …

Member Avatar for Dani
0
18K
Member Avatar for tha503girl

Ok so I have a Toshiba A105 s4284 that I just bought from a friend that bought it in january and it was working fine until just recently, all of a sudden the screen just goes completly black when I'm in the middle of something, I mean the computer doesn't …

Member Avatar for Dani_12
0
4K
Member Avatar for Ventech_IT

Hi guys just a quick question...when you upload a file to the database and the file name is saved and encrypted in codeigniter how do i make a link that when clicked will download the file associated with the id of the table entry? for instance this is my view …

Member Avatar for cereal
0
1K
Member Avatar for Liang_1

Dear All, I am facing a weird problem, similar codings give different result. Why is this happening? I am saving both files as .php file. Please guide me. I really having headache with this form. Code 1: Working Fine (Non-bootstrap) <html> <head> TestPage <link rel="stylesheet" href="http://gsmtecharena.com/Testing/bootstrap/3.3.5/css/bootstrap.min.css"> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script> <script src="http://http://gsmtecharena.com/Testing/bootstrap/3.3.5/js/bootstrap.min.js"></script> …

Member Avatar for Satish_7
0
812
Member Avatar for Ventech_IT

I am trying to make my bootstrap carousel dynamic in codeiginter here is what i have so far Model Fucntion function get_all_images(){ $query = $this->db->query("SELECT * FROM property AS p INNER JOIN property_images AS pi ON p.ID = pi.image_id GROUP BY p.ID ORDER BY p.ID"); return $query->result_array(); } My Controller: …

Member Avatar for mangel.murti
0
5K
Member Avatar for lewashby

I am trying to create a PDF file that has typeable text boxes, so I guess I'm trying to create a PDF form. I'm using MS Word 2010 to create the document then I select Save As and select PDF. After doing this the text box does not show up …

Member Avatar for hassan_16
0
216
Member Avatar for Ventech_IT

Hi I have two tables property and property_images I join these tables with the following query: function get_residential(){ $query = $this->db->query("SELECT property.ID, property.property_name, property.property_slug, property.property_size, property.property_beds, property.property_bath, property.property_garage, property.property_type, property.property_state, property.property_price, property.property_address, property.property_description, property.date_created, property.active, property_image.image_name FROM property AS property INNER JOIN property_images AS property_image ON property.ID = property_image.image_id WHERE …

Member Avatar for Ventech_IT
0
188
Member Avatar for Muhammad_95

Hello i am very new to this form and i have learnt my self. sorry for my poor english! i want setting page as shows in picture but it not showing same relsult i have tried many time :( . [Click Here](http://i.imgur.com/ei1ZVo5.png) . my code is <div id="addcontainer"> <div id="addprimary"> …

Member Avatar for Muhammad_95
0
274
Member Avatar for Ventech_IT

Hi Guys and Gals, Im busy developing a small website for a client but i've hit a little snag, currently when i create a new "property" entry i can upload one picture with it that kind of defeats the purpose because i need to showcase the "property". how would I …

Member Avatar for diafol
0
300
Member Avatar for Ventech_IT

Hi Everyone, I need some advice...i am building a website for a client and would like to integrate a feature where when he creates a new blog post on the site a link to that post is sent to all his social media platform how would i go about doing …

Member Avatar for diafol
0
260
Member Avatar for Ventech_IT

Hi i am currently building a admin section for my website but i am stuck at a certain point, right now my user authentication is working and my form validation is working great, when i log in as admin i want it to display the admin dash and when a …

Member Avatar for diafol
0
262
Member Avatar for Ventech_IT

Hi for some reason i keep getting a parse error when i try to load my view could someone tell me why it says unexpected end to file on line 20 <section id="login-landing" class="block block-gray"> <div class="container"> <div class="card card-container wow zoomInUp animated"> <a href="<?php echo base_url()?>"> <img id="profile-img" class="profile-img-card" …

Member Avatar for lps
0
280
Member Avatar for Ventech_IT

Hi guys i have simple captcha that seems to working but the only problem i have seems to be with the callback function on the validation have a look at the captcha: function index() { $this->load->helper('captcha'); $this->load->library('form_validation'); //Input field, Friendly name, Attributes $this->form_validation->set_rules('name', 'Name', 'trim|required'); $this->form_validation->set_rules('email', 'Email Address', 'trim|required|valid_email'); $this->form_validation->set_rules('number', …

Member Avatar for cereal
0
2K
Member Avatar for Ventech_IT

Hi all okay so when i click on my home page on my login button it takes me to my login screen that all works well but when i submit the form it just reloads the page and does not redirect to the page specified in my controller. Also the …

Member Avatar for diafol
0
291
Member Avatar for jaiuriyal

Hi, My name is jai and I am trying to code a contact form in php all is going well but I am unable to get data in my email which I am filling in this form please help me. my php code is below <?php header('Content-type: application/json'); $status = …

Member Avatar for Ventech_IT
0
269
Member Avatar for Ventech_IT

Hi there so i was just wondering how i would go about developing some sort of page to display whether or not a module has been loaded or not, is there some simple way to do this that can scan your web app on launch and then report if a …

Member Avatar for Ventech_IT
0
205
Member Avatar for Ventech_IT

Hi guys i have simple problem that i can't seem to solve and has been frustrating me for some time i am a newbie when it comes to Codeigniter so be kind hahah, okay so on to my problem i have form validation on a subscription form that seems to …

Member Avatar for lorenzoDAlipio
0
389
Member Avatar for Ventech_IT

Hi guys having some trouble here with my date's output currently it reads 2015-05-05 10:05:22 but i would like to have it render as eg. Monday 12 Mei 2013 how would i achieve this in codeigniter? Here is my code for creating the post: (Controller) public function new_post(){ if($_POST){ $data …

Member Avatar for Ventech_IT
0
339
Member Avatar for Ventech_IT

Hi guys Just a quick question...I have recnetly created a contact form for my site in codeigniter and the email sends and all that but i seem to have a problem getting the $_POST data to display in the message body. After my validation is done and the form gets …

Member Avatar for Ventech_IT
0
309
Member Avatar for Ventech_IT

Hi guys just a quick question how do i send email from a form in codeigniter? I have searched and tried to get it right but it just keeps telling me that the page required could not be found? Here is my view: <div class="container"> <div class="row"> <div class="container"> <div …

Member Avatar for cereal
0
188
Member Avatar for Ventech_IT

Hi there i want to create a news item that posts to my database (this works fine) but i want to be able to upload an image in the same form and submit the file path to the news table where all the other content is placed. Here is my …

Member Avatar for Ventech_IT
0
235
Member Avatar for Ventech_IT

Hi guys was wondering if someone could shed some light for me on how relational tables work in codeigniter, for example if i uploaded an image to the database through a from that collects data let's say a blog post. How would i link the two tables and then retrieve …

Member Avatar for Tpojka
0
89
Member Avatar for Ventech_IT

Hi guys i want to know how i would store uploads(path's) in the database here is my Controller, View what should go into the Model? Controller <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); class Upload extends CI_Controller { function __construct() { parent::__construct(); $this->load->helper(array('form', 'url')); } function index() …

Member Avatar for diafol
0
227
Member Avatar for Wil 0' Wisp

Another Wacky problem! Having carried out a rapid upgrade from Server 2K3 (It died) The problem is that any user that logs on get a temporay profile The server is a windows (hate) 2012 std. The clients are all windows 7. They all logged on fine until the big upset. …

Member Avatar for Ventech_IT
0
238
Member Avatar for Ventech_IT

Hi Guys Please have a look at my model and then read below public function get_events(){ $query = $this->db->get('events',1, 1); return $query->result_array(); Okay so when i run the page i only get my message that no entry's are in the table! So when i insert a entry it displays the …

Member Avatar for Ventech_IT
0
396
Member Avatar for Ventech_IT

Hi guys, Could someone please help me with a small problem i am having? I want to display a message if there are no entry's in a table but for some reason i cant get this right. Here is my Controller: ----------------------- <?php if ( ! defined('BASEPATH')) exit('No direct script …

Member Avatar for Ventech_IT
0
256
Member Avatar for Ventech_IT

Hi Guys i am currently building an app and using codeigniter as my framework and bootstrap to handle the Site so my question will be prashed in two parts. Im new to Codeigniter so please bear with me. Part One: Codeigniter Here is my current website header and i would …

Member Avatar for Ventech_IT
0
321
Member Avatar for Ventech_IT

Hi, Im having a problem with the following code of mine: <?php require_once 'config.php'; $title = "Home!"; $content = <<<EOF <h3>Current Statistics</h3> Our Home Page! EOF; include 'layout.php'; ?> when i try and render the page i get the follwing error: Parse error: syntax error, unexpected $end, expecting T_VARIABLE or …

Member Avatar for cereal
0
460
Member Avatar for Ventech_IT

Hi Guys, Okay so i know how to upload a img to database as blob that is no problem. I have a form that i use to upload products to my db i want to add a product picture to each product now but i don't know how to retrieve …

Member Avatar for elsunhoty
0
92
Member Avatar for Ventech_IT

Hi there, I have a little bit of a problem, i keep getting the following message when i try retrieve info from my database: "mysqli_fetch_array() expects parameter 1 to be mysqli_result, boolean given" Here is my PHP code i don't see the error could someone please help? <?php require("connect.php"); //Check …

Member Avatar for cereal
0
210