• Member Avatar for pritaeas
    pritaeas

    Replied To a Post in can i send php mail using gmail smtp server

    > Its already set Not in the above code. It's set to TLS.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Form validation

    > How to make changes to accept phone numbers world wide? First figure out what the possible ranges are. Then you can just adjust the `{12,12}` part.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in can i send php mail using gmail smtp server

    http://www.web-development-blog.com/archives/send-e-mail-messages-via-smtp-with-phpmailer-and-gmail/ You may need to set SSL.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in can i send php mail using gmail smtp server

    Do you get an error, or what?
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Form validation

    Can you show examples of phone numbers you want to match?
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in losing my mind

    Too late I see, good. This is my updated version (the rest is in the previous post): function ul_to_objects($source) { $menu = new MenuItem(); $menu->Name = 'root'; $tableInfo = array …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Hello everyone!

    Welcome to DaniWeb.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Robot. Txt

    http://www.daniweb.com/internet-marketing/search-engine-optimization/threads/454394/robot.txt
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Regular Expressions

    > Exactly what are regex? Patterns for testing against input strings. > Do we write them ourselves or are they prdefined expressions? You write them, but there are many examples …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in losing my mind

    Id just starts at 1, like an autoincrement?
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in syntax error, unexpected T_VARIABLE

    > here is code for grupa_select I know, you already posted that. It was not what I asked for. I want to know if you add my code above, what …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in losing my mind

    > I think I should be able to convert the flat file to a parent child relationship which is just what I need. Ok. If not, post the output you're …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in syntax error, unexpected T_VARIABLE

    > $selektovanje = mysql_query("select id from grupe where grupanaziv = '".($grupa_select)."'"); $selektovanje = mysql_query("select id from grupe where grupanaziv = '".($grupa_select)."'") or die(mysql_error()); print_r($selektovanje); Reply with the output. Am pretty …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in losing my mind

    > does it go to any level deep? Yes. > Now I just need a way to convert that flat array to a parent child relationship Take my last post, …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in syntax error, unexpected T_VARIABLE

    > Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/a9752689/public_html/zadatak2/user.php on line 178 If you still have that error, use `mysql_error()` to find out what the …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in PHP Regular Expression - Cnfounded

    What's your input?
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Record navigation in PHP

    You should set the `$screen` variable from `$_GET['screen']` instead of `echo`ing it.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Files and Folder listed in HTML page

    A script to read the available files, and return them if requested.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in get content from filehippo

    > get all the content of filehippo That content is copyrighted, be careful what you do.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Files and Folder listed in HTML page

    Install the webserver on the file server, or any other machine that can access them without a hitch.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Quantity error

    So where's your update code/query?
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Files and Folder listed in HTML page

    I think you need to decide first if you can install a webserver.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in losing my mind

    A version using objects to simplify the nesting: <?php class MenuItem { public $Parent = NULL; public $Name = ''; public $Children = array (); } $html = <<<EOT <ul> …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Files and Folder listed in HTML page

    > Does any java script work without web server? Yes, but I doubt Javascript will have access to your shared files. > If I need to have a web based …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in 4th dimension

    http://en.wikipedia.org/wiki/Flatland A funny book on the subject.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in How to create custom marker with numbered label?

    > number as a label in marker i want to display. I don't think gmap supports this, so you need to create pins for every number, either statically or dynamically.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Insert image name into database PDO

    Use `:filename` instead of `$filename`, like the other bound parameters.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in I need your help to fix 2 bugs

    What is the code for the `query` function?
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in unexpected '$map' (T_VARIABLE)

    Missing semi-colon on line 12.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in losing my mind

    Here's how to convert a single level. If you need deeper, then you'll have to make it recursive: $flat_array = ul_to_array($html); print_r($flat_array); $tree_array = array (); foreach ($flat_array as $item) …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in losing my mind

    Here's a start, you just need to convert the output into a tree: <?php $html = <<<EOT <ul> <li>menu 1</li> <li>menu 2<ul> <li>menu 2.1</li> <li>menu 2.2</li></ul></li> <li>menu 3</li> </ul> EOT; …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Reset Password Script

    UPDATE members SET password='$password', salt='$random_salt' WHERE id = ? The `AND` is messing it up, thus the query fails.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in str_replace not replacing

    What are you outputting, `$content` or `$replaced_content` ?
  • Member Avatar for pritaeas
    pritaeas

    Edited PHP display column from database in alert box

    I have a php/mysql project. When the admin deletes a customer or product from the database on the form I need an confirm box to show and ask the admin …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in PHP display column from database in alert box

    Closed. Continued here: http://www.daniweb.com/web-development/php/threads/479859/php-display-column-from-database-in-confirm-box
  • Member Avatar for pritaeas
    pritaeas

    Edited At what age did you create your first website?

    im at 21 years old created my first website.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in syntax error, unexpected T_VARIABLE

    Do you have this somewhere then? $grupa_select = $_POST['grupa_select'];
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Hello to all respected members here!

    Welcome to DaniWeb.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in syntax error, unexpected T_VARIABLE

    > $selektovanje = mysql_query("select id from grupe where grupanaziv ='".$grupa_select."'"); `$grupa_select` may not have a value. If so then `$grupa_id` doesn't have one either.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in I'm Newly Join Daniweb

    Welcome to DaniWeb.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in How to delete an old post?

    Replaced your name.
  • Member Avatar for pritaeas
    pritaeas

    Edited need tips .. IT student 1st year

    need some advice.. how to become successful IT student.. please help me my class start on june 9.. and im nervous.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in syntax error, unexpected T_VARIABLE

    Use `mysql_error()` to find the problem.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in syntax error, unexpected T_VARIABLE

    > supplied argument is not a valid MySQL result resource That means an error in your connection or query.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in syntax error, unexpected T_VARIABLE

    Missing `)` on line 27.
  • Member Avatar for pritaeas
    pritaeas

    Gave Reputation to azapovjednik in cURL json to array

    Sure... I am a beginner... I must say it.. So I ll just say that curl_setopt wasnt complete ... I have added few additional lines.... I ll copy the entire …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Fetching from database

    > Here i have same values for int_reg_id I already said NOT to use the id.
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in How to get website visitors information?

    PHP runs on the server, not the client, so that info isn't directly available to you. If possible at all, you'll need Javascript.
  • Member Avatar for pritaeas
    pritaeas

    Edited center php table horizontally on screen

    I have a table that extracts data from a mysql database, I want the table to be centerd on the screen. I have used text-align: center; but obviously it only …
  • Member Avatar for pritaeas
    pritaeas

    Replied To a Post in Fetching from database

    Just select those names (with group by or distinct), but don't use their id in the dropdown. Pass the name around instead. SELECT DISTINCT ind_reg_name FROM ind_register ORDER BY ind_reg_name

The End.