• Member Avatar for veedeoo
    veedeoo

    Replied To a Post in Application Instantiation Error

    set $dbtype to public $dbtype = 'mysqli'; instead of mysql
  • Member Avatar for veedeoo
    veedeoo

    Replied To a Post in Issue with MySQL / PHP - Can't connect to local MySQL server through socket

    This might not be the answer to your question, but I still want to bring it up for clarification. When you created the database user on your cpanel, did you …
  • Member Avatar for veedeoo
    veedeoo

    Replied To a Post in links php

    **Please ignore my reponse. For some reason, we posted our responses almost at the same time.** echo '<a href="'.$dirpath.'/'.$file.'"> Click here to download '. $file .'</a>';
  • Member Avatar for veedeoo
    veedeoo

    Replied To a Post in __php_incomplete_class could not be converted to string

    I don't understand the need of storing an instance of an object into a session. There are many ways in finding out if an instance of an object is present. …
  • Member Avatar for veedeoo
    veedeoo

    Replied To a Post in New To DaniWeb

    Susan, welcome back to Daniweb.
  • Member Avatar for veedeoo
    veedeoo

    Replied To a Post in Assigning Smarty array to Javascript array

    this is wrong var arr = {/literal}{$a.ins_status|@json_encode}{literal}; alert(arr); it should be written as var arr = {literal}{$a.ins_status|@json_encode}{/literal}; alert(arr); Whatever you want to pass to the template file, it is highly …
  • Member Avatar for veedeoo
    veedeoo

    Replied To a Post in twitter bootstrap modal with ajax

    just create a method for the modal, for example let's use the most common example of bootstrap modal. View page <head> <script type="text/javascript"> $(document).ready(function(){ $("#myModal").modal('show'); }); </script> </head> <body> <!-- …
  • Member Avatar for veedeoo
    veedeoo

    Replied To a Post in .htaccess problem

    you can have them installed at the same, but they cannot run at the same time using the same port.
  • Member Avatar for veedeoo
    veedeoo

    Replied To a Post in .htaccess problem

    the zeroxi is their latest release. Some people use this to host their site from a thumb drive and it is pretty stable. The phpmyAdmin is also secure on this …
  • Member Avatar for veedeoo
    veedeoo

    Replied To a Post in .htaccess problem

    okay, now I know what is going on. Some version of Xampp is not so friendly with windows7. I am not sure which version were they, but what I was …
  • Member Avatar for veedeoo
    veedeoo

    Replied To a Post in .htaccess problem

    I tried installing Joomla on my development stack (uniform server, but for some reason I cannot replicate your problem. I am assuming this maybe an xampp related problem. The server …
  • Member Avatar for veedeoo
    veedeoo

    Replied To a Post in .htaccess problem

    can you check your server log if there is anything about the errors?
  • Member Avatar for veedeoo
    veedeoo

    Replied To a Post in .htaccess problem

    Joomla have provided some possible server related problems [here](http://docs.joomla.org/Why_does_your_site_get_messed_up_when_you_turn_on_SEF_%28Search_Engine_Friendly_URLs%29%3F). An alternative way of doing this is by renaming the htaccess.txt to .htaccess included in the distribution as mentioned [here](http://docs.joomla.org/Enabling_Search_Engine_Friendly_%28SEF%29_URLs). in …
  • Member Avatar for veedeoo
    veedeoo

    Replied To a Post in Nested columns on bootstrap 3 problem

    it is also looking good on my side. ![a22ce9712452b18e9e332c99895e2635](/attachments/large/3/a22ce9712452b18e9e332c99895e2635.jpg "a22ce9712452b18e9e332c99895e2635") code used <div class="text-center"> {% $paginate %} </div> <div class="row" style="border: 1px solid red"> <div class="col-md-9"> Level 1: .col-md-9 <div …
  • Member Avatar for veedeoo
    veedeoo

    Replied To a Post in checkbox/textbox pairs

    You can also try doing something like this if(isset($_POST['submit'])){ var_dump($_POST); } the above should give you two sets of array. Assuming that all items are checked and quantities were filled, …
  • Member Avatar for veedeoo
    veedeoo

    Replied To a Post in How do I insert advert in between my posts

    Here is a very simple example.. $article = array('1'=>'article one','2'=>'article two','3'=>'article three','4'=>'article four', '5'=>'article five', '6'=>'article six','7'=>'article seven','8'=>'article eight','9'=>'article nine', '10'=> 'article ten'); $this_ad = '<b>this is banner ad</b>'; $perpage …
  • Member Avatar for veedeoo
    veedeoo

    Gave Reputation to jsuna in print array

    Try... if(count($skills_1)) { foreach($skills_1 as $i=>$skills) { echo '<tr>'; foreach($skills as $key=>$skilldata) echo '<td>'.$skilldata.'</td>'; echo '</tr>'; } } Hope it helps!
  • Member Avatar for veedeoo
    veedeoo

    Replied To a Post in How do I loop through and print all variables in assoc nested array?

    @raminshahab, here is the array equivalent and you can try either one of the proposed solutions above. I know which one will work and which one will not. Your job …
  • Member Avatar for veedeoo
    veedeoo

    Replied To a Post in Intro

    Hi Chrisde100, welcome to Daniweb :). Yesssss, I am the first :).
  • Member Avatar for veedeoo
    veedeoo

    Replied To a Post in Greetings Watson!

    Hello and Welcome.
  • Member Avatar for veedeoo
    veedeoo

    Replied To a Post in What are you watching?

    The Amazing Spider-Man 2 :).
  • Member Avatar for veedeoo
    veedeoo

    Replied To a Post in case sensitivity issue with password login

    you can make the password all lower case. Although I do not agree with the use of a superglobals $_GET to process user credentials, you can do it like this …
  • Member Avatar for veedeoo
    veedeoo

    Replied To a Post in how to install mysql and phpmyadmin on vps

    I am not aware of any GUI to do this kind of installation, but it is not that hard to install them using comman line.
  • Member Avatar for veedeoo
    veedeoo

    Replied To a Post in mysqli_select_db() expects parameter 1 to be mysqli, string given in C:\wa

    Here are your problems. connection $con = mysqli_connect("localhost","root","","register"); Second, the mysqli_select_db... mysqli_select_db("register", $con); If you want to use the mysqli_select_db, then connection syntax should be like this. $con = mysqli_connect("localhost","root",""); …
  • Member Avatar for veedeoo
    veedeoo

    Replied To a Post in why error when i used php with dropdown in table

    Sorry about this ($_POST['submitted'] == true) It was my mistakes. It should be like this ($_POST['submitted'] == "true") It should have double quotes, because it is a string and that's …
  • Member Avatar for veedeoo
    veedeoo

    Replied To a Post in add username and password to table with text entry

    try changing the form method attribute to what is expected by the form processor. for example, if you want to process this form with get method, <form method="post" action="index.php"> then …
  • Member Avatar for veedeoo
    veedeoo

    Replied To a Post in why error when i used php with dropdown in table

    The table has nothing to do with it. this is the one causing the error <?php if($_POST['submitted'] == true){ ?> you can do something like this <?php if(isset($_POST['submit']) && ($_POST['submitted'] …
  • Member Avatar for veedeoo
    veedeoo

    Replied To a Post in What's Up Techies

    hello and welcome.
  • Member Avatar for veedeoo
    veedeoo

    Gave Reputation to iamthwee in Blender3D SSS

    In this tutorial I am going to be going over subsurface scattering, sometimes considered as the holy grail of 3D rendering, in blender cycles. **So what is SSS and why …
  • Member Avatar for veedeoo
    veedeoo

    Replied To a Post in CodeIgniter Storing Image using Blob

    Okay, I must admit, I am not too lazy today. Here is the HMVC design diagram as it applies to Codeigniter functioning as HMVC framework. It is not like the …
  • Member Avatar for veedeoo
    veedeoo

    Replied To a Post in CodeIgniter Storing Image using Blob

    Can you please tell me which HMVC modular extension are you currently using? There are few of them, but have minor difference in doing things. Another thing is that this …
  • Member Avatar for veedeoo
    veedeoo

    Replied To a Post in CodeIgniter Storing Image using Blob

    i found errors on the code above change this $data['featured_img'] = $this->input->post(file_get_contents($_FILES['featured_img']['name'])); to this $data['featured_img'] = $this->input->post(file_get_contents($_FILES['featured_img']['tmp_name'])); On your model, you still need to find out the true extession of …
  • Member Avatar for veedeoo
    veedeoo

    Replied To a Post in CodeIgniter Storing Image using Blob

    first you need to run the form validation library. second check if the form_validation run is false. third if false above, then call your model method to process the uploaded …
  • Member Avatar for veedeoo
    veedeoo

    Replied To a Post in How do I auto-populate form fields with data in a MySQL table?

    can you at least give us which appliance you are currently using, so that we can let you know if debugging is possible? I know about 11 appliances and I …
  • Member Avatar for veedeoo
    veedeoo

    Replied To a Post in How do I auto-populate form fields with data in a MySQL table?

    > How do I debug? I haven't done that before. you can either use netbeans, eclicpse IDE's or PHP designer. Load your script and run debug.
  • Member Avatar for veedeoo
    veedeoo

    Replied To a Post in Greetings from italy

    Hello and welcome.
  • Member Avatar for veedeoo
    veedeoo

    Replied To a Post in Paypal API ... too much info is bad info!

    are you testing your application with the paypal sandbox?
  • Member Avatar for veedeoo
    veedeoo

    Replied To a Post in unexpected '&&' (T_BOOLEAN_AND)

    pzuurveen and hericles are correct. You must evaluate all them
  • Member Avatar for veedeoo
    veedeoo

    Replied To a Post in how to access obj properties in php

    You cannot do this $mySoftware = new software(); $mySoftware->html->pageString; eventhough if we corrected it to $mySoftware = new software(); Still this will not work $mySoftware->html->pageString(); the only time it will …
  • Member Avatar for veedeoo
    veedeoo

    Replied To a Post in Best PHP Forum

    phpbb also have those string filters. As suggested by jresponse SMF is also pretty good and you can convert your phpBB to SMF. I did this once converting phpBB to …
  • Member Avatar for veedeoo
    veedeoo

    Replied To a Post in Daniweb et al, A Big thank you.

    > Veedeoo, I didn't realise you were so young as your answers have the maturity which would eclipse so-called seasoned professionals. Thanks,I get that a lot. Probably because I grew …
  • Member Avatar for veedeoo
    veedeoo

    Replied To a Post in Call to a member function prepare() on a non-object

    Let us know when you got it working, so that I can teach you how to use these PDO::PARAM_INT PDO::PARAM_BOO PDO::PARAM_NULL PDO::PARAM_STR that's for late though..
  • Member Avatar for veedeoo
    veedeoo

    Replied To a Post in Hello DaniWeb...!

    Hi Ali, welcome to Daniweb..
  • Member Avatar for veedeoo
    veedeoo

    Replied To a Post in Call to a member function prepare() on a non-object

    you are not supposed to wrap the placeholders with single quotes. So, this VALUES (':userName',':password',':firstname',':Surname', ':gender', ':dob', ':email')"; should be like this VALUES (:userName, :password, :firstname, :Surname, :gender, :dob, :email)"); …
  • Member Avatar for veedeoo
    veedeoo

    Edited Daniweb et al, A Big thank you.

    Thank you very much people for the new Featured badge. Special thanks to these wonderful people in PHP forum **iamthwee**, **Diafol**,**pritaeas**,**Cereal** and many others I can't recall their handle. Also, …
  • Member Avatar for veedeoo
    veedeoo

    Created Daniweb et al, A Big thank you.

    Thank you very much people for the new Featured badge. Special thanks to these wonderful people in PHP forum **iamthwee**, **Diafol**,**pritaeas**,**Cereal** and many others I can't recall their handle. Also, …
  • Member Avatar for veedeoo
    veedeoo

    Replied To a Post in Best PHP Forum

    Hey, look at that, I just noticed what is underneath my avatar, this is crazy. I need to say thanks at the geek's lounge. Sorry for getting out of the …
  • Member Avatar for veedeoo
    veedeoo

    Replied To a Post in Best PHP Forum

    You cannot prevent forum spam regardless of which script you use. I have used phpbb in the past and I was able to minimize the spam by writing my own …
  • Member Avatar for veedeoo
    veedeoo

    Replied To a Post in How to receive GPS (TK 106) data from a tcp/ip port

    okay, I found the link in my inbox. Here is the [link](http://www.phpclasses.org/package/3507-PHP-Retrieve-data-from-GPS-receivers-using-NMEA-0183.html) for the class. The script might need some upgrades, but that should not be a problem.
  • Member Avatar for veedeoo
    veedeoo

    Replied To a Post in How to receive GPS (TK 106) data from a tcp/ip port

    Hi, Some 5 or more years ago, someone from phpclasses.org made a PHP GPS locator. For some reason, I can't find my bookmark for it. Yes that could be done.

The End.